fix(map): 移除奖励数字前的加号前缀
调整RewardItemComp和VictoryComp中的奖励数量显示逻辑,去掉原本的+号前缀,统一展示原始数值
This commit is contained in:
@@ -619,7 +619,7 @@ export class VictoryComp extends CCComp {
|
||||
node.getComponent(ChipComp)?.setHeroByUuid(f.uuid);
|
||||
const numLabel = node.getChildByName("num")?.getComponent(Label);
|
||||
if (numLabel) {
|
||||
numLabel.string = `+${f.count}`;
|
||||
numLabel.string = `${f.count}`;
|
||||
numLabel.node.active = true;
|
||||
}
|
||||
items.push(node);
|
||||
|
||||
Reference in New Issue
Block a user