From 5800befa501d0eb52eb92936639e3ee510128ff6 Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 25 Jan 2022 16:47:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(table):=20=E6=98=8E=E7=BB=86=E8=A1=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=88=86=E9=A1=B5=E6=95=B0=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=97=A7=E7=89=88=E6=9C=AC=E5=88=9B=E5=BB=BA=E7=9A=84=E8=A7=86?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/table/TableNormal.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/chart/components/table/TableNormal.vue b/frontend/src/views/chart/components/table/TableNormal.vue index 6a0e5a839a..c9afef2d35 100644 --- a/frontend/src/views/chart/components/table/TableNormal.vue +++ b/frontend/src/views/chart/components/table/TableNormal.vue @@ -116,7 +116,7 @@ export default { borderRadius: '0px', currentPage: { page: 1, - pageSize: 10, + pageSize: 20, show: 0 } } @@ -165,7 +165,7 @@ export default { if (this.chart.data) { this.fields = JSON.parse(JSON.stringify(this.chart.data.fields)) const attr = JSON.parse(this.chart.customAttr) - this.currentPage.pageSize = parseInt(attr.size.tablePageSize ? attr.size.tablePageSize : 10) + this.currentPage.pageSize = parseInt(attr.size.tablePageSize ? attr.size.tablePageSize : 20) datas = JSON.parse(JSON.stringify(this.chart.data.tableRow)) if (this.chart.type === 'table-info') { // 计算分页 @@ -341,7 +341,7 @@ export default { resetPage() { this.currentPage = { page: 1, - pageSize: 10, + pageSize: 20, show: 0 } }