From 38a14a0ae81921905fe070b7c4929b535b6134ee Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 29 Dec 2023 14:36:56 +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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index eb90163773..938b065b63 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -933,6 +933,12 @@ export default { return true }).catch(err => { console.error('err-' + err) + // 还没有构内部刷新 + if (!this.innerRefreshTimer ) { + setTimeout(() => { + this.getData(this.element.propValue.viewId) + }, 5000) + } this.requestStatus = 'error' if (err.message && err.message.indexOf('timeout') > -1) { this.message = this.$t('panel.timeout_refresh')