|
@@ -95,7 +95,8 @@ export default {
|
|
pageNumber: this.current,
|
|
pageNumber: this.current,
|
|
pageSize: this.size
|
|
pageSize: this.size
|
|
};
|
|
};
|
|
- const data = await doneTaskListPage(datas);
|
|
|
|
|
|
+ const result = await doneTaskListPage(datas);
|
|
|
|
+ const data = result || { records: [], total: 0 };
|
|
this.tasks = data.records;
|
|
this.tasks = data.records;
|
|
this.total = data.total;
|
|
this.total = data.total;
|
|
},
|
|
},
|