From ab36ced8f17a40b36b1041ca45f3eafff822ff70 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 31 Aug 2023 09:41:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E7=BD=AE=E4=BF=A1=E6=81=AF=E5=85=B3?= =?UTF-8?q?=E9=97=ADloading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/realTimeMonitor/components/infoDialog.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/realTimeMonitor/components/infoDialog.vue b/src/views/realTimeMonitor/components/infoDialog.vue index 06500e9..39854bf 100644 --- a/src/views/realTimeMonitor/components/infoDialog.vue +++ b/src/views/realTimeMonitor/components/infoDialog.vue @@ -102,7 +102,7 @@ export default { this.timer = window.setInterval(() => { this.getNewListData(this.zztermid); this.i++; - }, 10000); + }, 5000); }) .catch((err) => {}); }, @@ -121,7 +121,7 @@ export default { this.$message.success("装置信息已更新"); clearInterval(this.timer); this.loading = false; - } else if (this.i > 9) { + } else if (this.i > 5) { this.i = 0; this.$message.warning("暂无响应,请稍后再试!"); clearInterval(this.timer); @@ -148,6 +148,7 @@ export default { }, handleclose() { this.isShow = false; + this.loading = false; this.i = 0; clearInterval(this.timer); this.timer = null;