活动:弹出商店添加条件判断
This commit is contained in:
@@ -58,14 +58,14 @@ export class DailyRMBGiftsData extends ActivityBase {
|
||||
return;
|
||||
}
|
||||
let records = data.records ? data.records : [];
|
||||
let isOver = false;
|
||||
let isOver = true;
|
||||
for (let item of this.list) {
|
||||
let index = records.findIndex(obj => { return obj.id === item.id })
|
||||
if (index != -1) {
|
||||
item.isReceive = true;
|
||||
}
|
||||
if (!item.isReceive) {
|
||||
isOver = true;
|
||||
isOver = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user