Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
jiaoyangna 2021-12-24 14:52:23 +08:00
commit 2a9b8c706e
2 changed files with 3 additions and 2 deletions

View File

@ -400,12 +400,12 @@ end
--添加事件监听(用于子类重写)
function XiangYaoDuoBao:AddListener()
Game.GlobalEvent:AddEvent(GameEvent.UI.OnUpdateData,self.Refresh,self)
end
--移除事件监听(用于子类重写)
function XiangYaoDuoBao:RemoveListener()
Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnUpdateData,self.Refresh,self)
end
return XiangYaoDuoBao

View File

@ -564,6 +564,7 @@ function RewardItemPopup:OnClose()
end
self:RedCheckFuns()
Game.GlobalEvent:DispatchEvent(GameEvent.UI.OnUpdateData)
end
--一些等到物品后的红点检测