【十绝阵】修改提交

jiaoyangna 2020-12-15 13:59:29 +08:00
parent 175752ea75
commit f5fface274
1 changed files with 2 additions and 3 deletions

View File

@ -154,8 +154,8 @@ function this.RefreshPanel()
for i = 1, #preList do
Util.AddOnceClick(preList[i],function()
local guildName=Util.GetGameObject(preList[i],"Guild/GuildName"):GetComponent("Text")
local guildName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
UIManager.OpenPanel(UIName.DeathPosInfoPanel,i,guildName.text,guildName.text)
local serverName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
UIManager.OpenPanel(UIName.DeathPosInfoPanel,i,guildName.text,serverName.text)
end)
end
end
@ -185,7 +185,6 @@ function this.RefreshGuildInfo()
local data=DeathPosManager.GetGuildInfoData()
for i = 1, #preList do
for key, value in pairs(data) do
LogGreen("value.pathId:"..value.pathId.." i:"..i)
if i==value.pathId then
local guild=Util.GetGameObject(preList[i],"Guild")
local serverName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")