From d9c8c0fbe65c84ebf27b58addd1711fe28d9a4b2 Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Mon, 30 Sep 2024 09:37:12 +0800 Subject: [PATCH] =?UTF-8?q?=20fast(=E9=85=8D=E7=BD=AE):=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E3=80=81=E5=B1=8F=E8=94=BD=E8=A7=A6=E5=8F=91=E5=99=A8=E3=80=81?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=91=8A=E8=AD=A6=E7=82=B9=E5=87=BB=E5=88=B0?= =?UTF-8?q?tab=E5=86=8D=E6=9F=A5=E8=AF=A2=EF=BC=8C=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=AE=9E=E6=97=B6websocket=E5=8F=82=E6=95=B0=E6=94=B9=E7=89=88?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E9=87=8D=E8=BF=9E=E5=8E=BB=E6=8E=89=E5=BB=B6?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=A7=A3=E5=86=B3=E4=BC=81=E4=B8=9A=E7=AB=AF?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=AF=A6=E6=83=85=E8=BF=94=E5=9B=9E=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DeviceDetailsView/deviceSelectNav.vue | 1 + src/views/profile/DeviceDetailsView/index.vue | 52 +++++++-------- src/views/profile/DeviceRunStarts/index.vue | 4 +- src/views/tenant/device/index.vue | 64 +++++++++---------- 4 files changed, 62 insertions(+), 59 deletions(-) diff --git a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue index 6bb8b009..41783080 100644 --- a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue +++ b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue @@ -694,6 +694,7 @@ export default { // 定时 ping ws timingPingWs(row) { this.extenSubmit(row); + clearInterval(this.timingPingWs_flag); const _this = this; this.timingPingWs_flag = setInterval(function() { _this.extenSubmit(row); diff --git a/src/views/profile/DeviceDetailsView/index.vue b/src/views/profile/DeviceDetailsView/index.vue index 9175009e..4d80d9d3 100644 --- a/src/views/profile/DeviceDetailsView/index.vue +++ b/src/views/profile/DeviceDetailsView/index.vue @@ -1,33 +1,33 @@