From 50c8def3ab7b29ca48ac6ba0dbc37ad7f069f24e Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 27 Jul 2021 18:04:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E9=9B=86=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=EF=BC=9B?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/en.js | 2 +- frontend/src/views/dataset/data/ViewTable.vue | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index f23c8183ca..a130d14633 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -592,7 +592,7 @@ export default { create_view: 'Create Chart', data_preview: 'Data preview', dimension: 'Dimension', - quota: 'Index', + quota: 'Quota', title: 'Title', show: 'Show', chart_type: 'Chart Type', diff --git a/frontend/src/views/dataset/data/ViewTable.vue b/frontend/src/views/dataset/data/ViewTable.vue index 31173716a1..10187440aa 100644 --- a/frontend/src/views/dataset/data/ViewTable.vue +++ b/frontend/src/views/dataset/data/ViewTable.vue @@ -117,6 +117,7 @@ export default { }, methods: { initTable(id) { + this.resetPage() this.tableViewRowForm.row = 1000 if (id !== null) { this.fields = [] @@ -198,6 +199,14 @@ export default { msg2Current(sourceParam) { this.tabActive = 'updateInfo' this.table.msgTaskId = sourceParam.taskId + }, + + resetPage() { + this.page = { + page: 1, + pageSize: 100, + show: 1000 + } } } }