bug修复

This commit is contained in:
xiekaidong 2023-09-20 10:19:02 +08:00
parent 5c7355d951
commit 0c8724a03d

View File

@ -193,7 +193,7 @@ end
function BattleRuneResultUI:refreshTaskNode() function BattleRuneResultUI:refreshTaskNode()
self.taskNode:setVisible(true) self.taskNode:setVisible(true)
self.rewardNode:setVisible(false) self.rewardNode:setVisible(false)
self.rewardTxTitle:setText(I18N:getGlobalText(I18N.GlobalConst.DUNGEON_RUNE_DESC_1))
local id = self.chapterId local id = self.chapterId
if not id then if not id then
return return
@ -224,7 +224,7 @@ function BattleRuneResultUI:refreshTaskNode()
desc = desc .. string.format("<color=%s>(%s/%s)</color>", color, info.progress, info.totalProgress) desc = desc .. string.format("<color=%s>(%s/%s)</color>", color, info.progress, info.totalProgress)
end end
objs.cell:refresh(condition) objs.cell:refresh(condition)
objs.desc:setText(self.runeData:getConditionDesc(condition, taskNum)) objs.desc:setText(self.runeData:getConditionDesc(condition))
if over then if over then
objs.descUnDone:setText(GConst.EMPTY_STRING) objs.descUnDone:setText(GConst.EMPTY_STRING)
objs.check:setVisible(true) objs.check:setVisible(true)