bug修复
This commit is contained in:
parent
ffd98d8270
commit
7d8b58cef3
@ -14,7 +14,7 @@ function SideBarArenaGiftCell:getIsOpen()
|
||||
end
|
||||
|
||||
function SideBarArenaGiftCell:getSpineName()
|
||||
return "ui_main_btn_sevenday"
|
||||
return "ui_main_gift_arena"
|
||||
end
|
||||
|
||||
function SideBarArenaGiftCell:onClick()
|
||||
|
||||
@ -66,7 +66,11 @@ function BoxHeroUI:onLoadRootComplete()
|
||||
|
||||
-- 奖励界面打开时 关闭此界面
|
||||
self:addEventListener(EventManager.CUSTOM_EVENT.CLOSE_BOX_HERO_UI, function()
|
||||
self:onRefresh()
|
||||
if self.arenaBoxInfo then
|
||||
self:closeUI()
|
||||
else
|
||||
self:onRefresh()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user