diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_JinJieYuLan.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_JinJieYuLan.lua index 603040b8c8..53a5280c39 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_JinJieYuLan.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_JinJieYuLan.lua @@ -90,6 +90,10 @@ function this:OnShow(_parent,...) return a.sort < b.sort end) local index = 0 + for k,m in pairs(itemList) do + itemList[k].item.gameObject:SetActive(false) + end + for k,m in pairs(data) do index = index + 1 if not itemList[k] then @@ -100,6 +104,7 @@ function this:OnShow(_parent,...) itemList[k].k[2] = Util.GetGameObject(itemList[k].item, "k2") itemList[k].k[3] = Util.GetGameObject(itemList[k].item, "k3") end + itemList[k].item.gameObject:SetActive(true) if index == LengthOfTable(data) then Util.GetGameObject(itemList[k].item, "Image (4)").gameObject:SetActive(false) else