审核模式不显示竞技场礼包
This commit is contained in:
parent
870a1e32d0
commit
b9c9b4d0ce
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user