活动:寻宝骑兵活动添加推送任务

This commit is contained in:
qiaoxin
2021-06-08 21:29:09 +08:00
parent 63845d09c7
commit f64bd7bdd2
4 changed files with 102 additions and 0 deletions

View File

@@ -180,6 +180,10 @@ export class TreasureHuntTaskData {
}
}
public findItemByTaskType(type: number) {
return this.list.filter(obj => { return obj && obj.taskType === type });
}
public initData(data: any) {
this.name = data.name;
this.index = data.index;