From f5fface274484aea26b85dcaf6fb27bb2d32724b Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Tue, 15 Dec 2020 13:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=81=E7=BB=9D=E9=98=B5=E3=80=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/DeathPos/DeathPosPanel.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosPanel.lua b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosPanel.lua index 66c5f465ad..1756608475 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/DeathPos/DeathPosPanel.lua @@ -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")