优化分页统一返回
This commit is contained in:
@@ -291,7 +291,7 @@ export default {
|
||||
this.loading = true;
|
||||
queryTasks(this.queryParams).then((response) => {
|
||||
this.dataTasks = response.data.result;
|
||||
this.total = response.data.totalCount;
|
||||
this.total = response.data.totalNum;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
listJobLog(this.addDateRange(this.queryParams, this.dateRange)).then(
|
||||
(response) => {
|
||||
this.jobLogList = response.data.result;
|
||||
this.total = response.data.totalCount;
|
||||
this.total = response.data.totalNum;
|
||||
this.loading = false;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user