diff --git a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua index d1f764c3c5..cd271e8e25 100644 --- a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua @@ -214,6 +214,7 @@ function XiaoYaoLuckyBossPopup:SetSingleReward(id) end end function this:OnClose() + Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow) if _LiveNode then poolManager:UnLoadLive(_LiveName, _LiveNode) _LiveNode = nil diff --git a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyTurnTablePopup.lua b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyTurnTablePopup.lua index bcc4d05d07..f9c6e0edd8 100644 --- a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyTurnTablePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyTurnTablePopup.lua @@ -160,6 +160,7 @@ function this:TimerDown() self.timer:Start() end function XiaoYaoLuckyTurnTablePopup:OnClose() + Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow) for index, value in ipairs(_itemsList) do local red = Util.GetGameObject(value,"Red") red:SetActive(false) diff --git a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoyaoHeroGetPopup.lua b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoyaoHeroGetPopup.lua index 0a6bd532c8..5b77738ab8 100644 --- a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoyaoHeroGetPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoyaoHeroGetPopup.lua @@ -239,6 +239,7 @@ end --界面关闭时调用(用于子类重写) function XiaoyaoHeroGetPopup:OnClose() + Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow) if this.testLiveGO then poolManager:UnLoadLive(this.testLiveGO.name, this.testLiveGO) this.testLiveGO = nil