From 3e11f70576f6089dbd5e4f5b2fc011045512651a Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 10 Jan 2022 14:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BA=91=E6=B8=B8=E5=95=86=E4=BA=BA?= =?UTF-8?q?=E3=80=91=E9=80=89=E6=8B=A9=E5=8D=87=E7=BA=A7=E7=9A=84=E8=A3=85?= =?UTF-8?q?=E5=A4=87=EF=BC=8C=E6=98=BE=E7=A4=BA=E5=8F=AF=E4=BB=A5=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/View/GeneralPopup_YunYouMan.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_YunYouMan.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_YunYouMan.lua index adb1999224..b63eb527ab 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_YunYouMan.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_YunYouMan.lua @@ -154,8 +154,8 @@ function this:ShowSingleData(item,sdata,index) Util.AddOnceClick(self.maskList[item],function () - for i = 1, #self.maskImageList do - self.maskImageList[i]:SetActive(false) + for key, value in pairs(self.maskImageList) do + value:SetActive(false) end if self.selectId == sdata.Id then self.maskImageList[item]:SetActive(false)