活动:修改任务接口
This commit is contained in:
@@ -24,6 +24,7 @@ export class YuanBaoShopItem {
|
||||
this.firstReward = data.firstReward;
|
||||
this.extraReward = data.extraReward;
|
||||
this.imageName = data.imageName;
|
||||
this.buyCount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +48,7 @@ export class YuanBaoShopData extends ActivityBase {
|
||||
return;
|
||||
}
|
||||
for (let obj of this.list) {
|
||||
let arr = data.filter(obj => { return obj.productID === obj.productID })
|
||||
let arr = data.filter(order => { return order.productID === obj.productID })
|
||||
obj.buyCount = arr.length;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user