删除一下没有使用的参数

This commit is contained in:
luying
2022-09-14 13:41:36 +08:00
parent bd0a0d708a
commit d6a3e64b79

View File

@@ -53,7 +53,7 @@ export class WarReward {
public setFixReward(reward: RewardInter[]) {
for(let r of reward) {
console.log('#####setFixReward', JSON.stringify(r));
// console.log('#####setFixReward', JSON.stringify(r));
this.fixReward.push(r);
}
}
@@ -84,7 +84,7 @@ export class WarReward {
if(!this.fixReward) return
for(let i = 0; i < num; i++) {
for(let obj of this.fixReward) {
console.log('##### handleFixReward', JSON.stringify(obj));
// console.log('##### handleFixReward', JSON.stringify(obj));
this.rewards.push({type: BATTLE_REWARD_TYPE.FIX_REWARD, times: i +1, ...obj, count: obj.count });
}
}