From 2433bd7fec734d1d3c3bd773ae48e50247f729d5 Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Fri, 27 Aug 2021 15:08:37 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtable=E5=88=86?=
=?UTF-8?q?=E9=A1=B5=E9=A1=B5=E7=A0=81bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/charts/ChartTablePagination.vue | 9 ++++++++-
src/views/charts/Chart.vue | 4 ++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/components/charts/ChartTablePagination.vue b/src/components/charts/ChartTablePagination.vue
index 81ae5409..bae70a32 100644
--- a/src/components/charts/ChartTablePagination.vue
+++ b/src/components/charts/ChartTablePagination.vue
@@ -1,10 +1,12 @@
@@ -947,6 +948,9 @@ export default {
this.errorInfo = response.msg || response.message || 'Unknown'
}
}).finally(() => {
+ this.$nextTick(() => {
+ this.$refs.tablePagination.resetPageNo()
+ })
setTimeout(() => { this.loading = false }, 250)
})
},