|
@@ -319,6 +319,9 @@ export const indexMixin = {
|
|
|
if (!this.tableData && res.data && Array.isArray(res.data)) {
|
|
if (!this.tableData && res.data && Array.isArray(res.data)) {
|
|
|
this.tableData = res.data;
|
|
this.tableData = res.data;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (!this.tableData && res.data && Array.isArray(res.data.detail)) {
|
|
|
|
|
+ this.tableData = res.data.detail;
|
|
|
|
|
+ }
|
|
|
if (params.currentPage == 1) {
|
|
if (params.currentPage == 1) {
|
|
|
this.pageInfo.total = res.data.total
|
|
this.pageInfo.total = res.data.total
|
|
|
this.pageInfo.currentPage = 1;
|
|
this.pageInfo.currentPage = 1;
|