From 125b765551a31599e7e6f289ab722c28e98a8bfa Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期三, 01 十一月 2023 20:25:47 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/views/common/ztt-table.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 1cae22a..724a966 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -967,7 +967,12 @@ .apply(this, args) .then((response) => { var _this = this - _this.tableData = response.data.data.records + var resultData = response.data.data.records + if(resultData == undefined){ + _this.tableData = response.data.data + }else{ + _this.tableData = response.data.data.records + } _this.pagination.total = response.data.data.total // 缃┖閫変腑 this.$refs.lmesTable.setCurrentRow() -- Gitblit v1.9.3