活动:记录完成任务获得的点数
This commit is contained in:
@@ -94,13 +94,11 @@ export class RefreshTaskData extends ActivityBase {
|
||||
if (index != -1) {
|
||||
item.totalCount = data[index].totalCount ? data[index].totalCount : 0;
|
||||
item.receiveRewardCount = data[index].receiveRewardCount ? data[index].receiveRewardCount : 0;
|
||||
if (item.receiveRewardCount) {
|
||||
this.totalPoint += item.point;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.totalPoint = pointRecordData && pointRecordData.totalPoint ? pointRecordData.totalPoint : 0;
|
||||
let pointRecords = pointRecordData && pointRecordData.records ? pointRecordData.records : [];
|
||||
for (let record of pointRecords) {
|
||||
this.exchangePoint += record.point;
|
||||
|
||||
Reference in New Issue
Block a user