fix(map): 移除奖励数字前的加号前缀
调整RewardItemComp和VictoryComp中的奖励数量显示逻辑,去掉原本的+号前缀,统一展示原始数值
This commit is contained in:
@@ -34,7 +34,7 @@ export class RewardItemComp extends CCComp {
|
||||
*/
|
||||
setReward(count: number) {
|
||||
if (this.count_label) {
|
||||
this.count_label.string = `+${count}`;
|
||||
this.count_label.string = `${count}`;
|
||||
}
|
||||
this.playEnter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user