From f45ddc45ab29dd9351c3b307ec5688a9b41f4578 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Fri, 20 Sep 2024 16:48:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E6=98=8E=E7=BB=86?= =?UTF-8?q?=E8=A1=A8=E7=BF=BB=E9=A1=B5=E5=90=8E=E6=9F=A5=E8=AF=A2=E6=97=A0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=20#12125?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/customComponent/UserView.vue | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index 603468d770..4828746de0 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -601,6 +601,7 @@ export default { 'cfilters': { handler: function(val1, val2) { if (isChange(val1, val2) && !this.isFirstLoad) { + this.currentPage.page = 1 this.getData(this.element.propValue.viewId) this.getDataLoading = true } @@ -779,20 +780,20 @@ export default { message: h('p', null, [ this.$t('data_export.exporting'), h( - Button, - { - props: { - type: 'text', - }, - class: 'btn-text', - on: { - click: () => { - cb() - } - } + Button, + { + props: { + type: 'text' }, - this.$t('data_export.export_center') - ), + class: 'btn-text', + on: { + click: () => { + cb() + } + } + }, + this.$t('data_export.export_center') + ), this.$t('data_export.export_info') ]), iconClass, @@ -811,7 +812,7 @@ export default { Button, { props: { - type: 'text', + type: 'text' }, class: 'btn-text', on: { @@ -999,7 +1000,7 @@ export default { }, getData(id, cache = true, dataBroadcast = false) { // Err1001 已删除的不在重复请求 - if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001')> -1)) { + if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001') > -1)) { return } if (id) {