From 4a91131efcc4e4ce128e9963e96126a718874f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167@qq.com> Date: Wed, 7 Sep 2022 20:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableCollection/index1.vue | 2 +- jero-web/src/views/externalReports/index.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jero-web/src/components/tableCollection/index1.vue b/jero-web/src/components/tableCollection/index1.vue index bda28497b..6cffad599 100644 --- a/jero-web/src/components/tableCollection/index1.vue +++ b/jero-web/src/components/tableCollection/index1.vue @@ -221,7 +221,7 @@ selectedRowrowValue: [], dataSource: [], pageNo: 1, - pageSize: 10, + pageSize: 100, pageSizeOptions: ['100', '200'], total: 0, searchParmes: {}, diff --git a/jero-web/src/views/externalReports/index.vue b/jero-web/src/views/externalReports/index.vue index 7bf1cd665..5521247db 100644 --- a/jero-web/src/views/externalReports/index.vue +++ b/jero-web/src/views/externalReports/index.vue @@ -767,6 +767,11 @@ export default { this.loading = true getAction(this.url.list, params).then(res => { if (res.success) { + if (res.result.pageList.current > 1 && res.result.pageList.records.length == 0) { + this.pageNo = 1 + this.loadData() + return + } this.dataSource = res.result.pageList.records || [] this.authmanage =res.result.auth_manage this.total = res.result.pageList.total