diff --git a/lua/app/ui/hero/cell/hero_list_cell.lua b/lua/app/ui/hero/cell/hero_list_cell.lua index 99e3ab78..fb59b24b 100644 --- a/lua/app/ui/hero/cell/hero_list_cell.lua +++ b/lua/app/ui/hero/cell/hero_list_cell.lua @@ -20,9 +20,11 @@ end function HeroListCell:refresh(index, heroList, allHeroCount, activeCount) if activeCount > 0 and index == 1 then self.title:setVisible(true) + self.titleTx:setText("临时文本:已解锁") self:getBaseObject():setSizeDeltaY(H.HAS_TITLE) elseif index == math.ceil(activeCount / 4) + 1 then self.title:setVisible(true) + self.titleTx:setText("临时文本:未解锁") self:getBaseObject():setSizeDeltaY(H.HAS_TITLE) else self.title:setVisible(false)