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