bug修复

This commit is contained in:
xiekaidong 2023-07-06 17:28:23 +08:00
parent ffd98d8270
commit 7d8b58cef3
2 changed files with 6 additions and 2 deletions

View File

@ -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()

View File

@ -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