From 6ce4d194d5a014aa987c7104c816a4e6115ac82e Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 8 Mar 2022 15:06:44 +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/tableDate/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jero-web/src/components/tableDate/index.vue b/jero-web/src/components/tableDate/index.vue index a24b467ba..ca11dfd73 100644 --- a/jero-web/src/components/tableDate/index.vue +++ b/jero-web/src/components/tableDate/index.vue @@ -189,6 +189,11 @@ this.loading = true postAction(this.url.tableList, params).then((res) => { if (res.success) { + if (res.result.current > 1 && res.result.records.length == 0){ + this.pageNo = res.result.current - 1 + this.getTableList() + return + } this.dataSource = res.result.records this.total = res.result.total this.loading = false