审核模式不显示竞技场礼包

This commit is contained in:
xiekaidong 2023-07-07 14:13:12 +08:00
parent 870a1e32d0
commit b9c9b4d0ce
2 changed files with 4 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function MainComp:refreshModule(selectModule)
end end
if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.ARENA then if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.ARENA then
if DataManager.ArenaData:needShowPopGift() then if DataManager.ArenaData:needShowPopGift() and DataManager.ArenaData:getGiftId() then
ModuleManager.ArenaManager:showGiftPopUI() ModuleManager.ArenaManager:showGiftPopUI()
end end
end end

View File

@ -71,6 +71,9 @@ function ArenaData:cleaShowPopGift()
end end
function ArenaData:getGiftId() function ArenaData:getGiftId()
if GFunc.isShenhe() then -- 审核状态不显示
return
end
if not self.curArenaGiftId or self.curArenaGiftId <= 0 then if not self.curArenaGiftId or self.curArenaGiftId <= 0 then
return return
end end