From 3173d4f65d3c835e872177f2a1e525fa35eecf81 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 29 Dec 2023 14:57:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=A7=86=E5=9B=BE=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E4=BC=98=E5=8C=96,=E8=A7=A3=E5=86=B3=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=87=BA=E9=94=99=E8=A7=86=E5=9B=BE=E5=81=9C=E6=AD=A2?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/customComponent/UserView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index 938b065b63..95a9046390 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -827,6 +827,9 @@ export default { } }, getData(id, cache = true, dataBroadcast = false) { + if (this.requestStatus === 'waiting') { + return + } if (id) { const filters = this.filter.filter const group = this.groupRequiredInvalid(filters) @@ -934,7 +937,7 @@ export default { }).catch(err => { console.error('err-' + err) // 还没有构内部刷新 - if (!this.innerRefreshTimer ) { + if (!this.innerRefreshTimer) { setTimeout(() => { this.getData(this.element.propValue.viewId) }, 5000)