This commit is contained in:
puxuan 2025-08-15 11:37:24 +08:00
parent 68c7d75dd0
commit 0d57ff0937

View File

@ -19,7 +19,7 @@ function BattleBoxOpenUI:onLoadRootComplete()
self.rewardCell = CellManager:addCellComp(uiMap["battle_box_open_ui.reward_cell"], GConst.TYPEOF_LUA_CLASS.REWARD_CELL) self.rewardCell = CellManager:addCellComp(uiMap["battle_box_open_ui.reward_cell"], GConst.TYPEOF_LUA_CLASS.REWARD_CELL)
end end
local reward = self.rewards[1] local reward = self.rewards
if reward then if reward then
self.rewardCell:refreshByConfig(reward) self.rewardCell:refreshByConfig(reward)
end end