From cf8fb5f147073e6fd6847eb9aa7b0a990b76c59e Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Wed, 26 May 2021 17:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B1=B1=E6=B2=B3=E7=A4=BE=E7=A8=B7?= =?UTF-8?q?=E5=9B=BE=E3=80=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/FightLevel/FightLevelSingleLevelInfoPopup.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleLevelInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleLevelInfoPopup.lua index b71c70a9f6..8ca4cffbff 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleLevelInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelSingleLevelInfoPopup.lua @@ -87,9 +87,7 @@ end --界面打开或者重新打开后,界面刷新时调用(用于子类重写) function FightLevelSingleLevelInfoPopup:OnShow() - for i = 1, #contentScripts do - contentScripts[i].view:OnShow(this,args) - end + contentScripts[index].view:OnShow(this,args) end