From a915cc8430f18cc71e98ac750ed3bd73e291f9a4 Mon Sep 17 00:00:00 2001 From: 15133876896-BGG25 <2233720980@qq.com> Date: Thu, 18 May 2023 15:56:51 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A4=84=E7=90=86=E5=9B=A0=E4=B8=BA=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E5=85=B3=E9=97=ADsocket=E8=A7=A6=E5=8F=91=E4=B8=A5?= =?UTF-8?q?=E6=A0=BC=E6=A8=A1=E5=BC=8F=E4=BA=A7=E7=94=9F=E7=9A=84=E6=8A=A5?= =?UTF-8?q?=E9=94=99=202.=E6=B7=BB=E5=8A=A0=E6=9C=BA=E6=A2=B0=E5=88=86?= =?UTF-8?q?=E5=8E=82=E5=8F=8A=E7=94=B5=E6=8E=A7=E5=88=86=E5=8E=82=E5=90=84?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=A0=87=E8=AF=86=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/InPlantProducts/index.vue | 2 +- src/views/Mechanics/index.vue | 2 +- src/views/MicrofactoryDev/index.vue | 4 ++-- src/views/Offsite/index.vue | 3 ++- src/views/PaintShopView/View1/index.vue | 22 +++++++++++++++---- src/views/PaintShopView/finishView/index.vue | 20 ++++++++++++++--- .../PaintShopView/machiningView/index.vue | 20 ++++++++++++++--- src/views/PaintShopView/stuffView/index.vue | 20 ++++++++++++++--- src/views/PaintShopView/weldView/index.vue | 20 ++++++++++++++--- src/views/electronicControlAmbient/index.vue | 22 +++++++++++++++---- src/views/generalEnvironment/index.vue | 2 +- .../generalEnvironmentjixiefenchang/index.vue | 4 ++-- src/views/realtimeSecurity/index.vue | 4 ++-- .../realtimeSecurityJixiefenchang/index.vue | 4 ++-- 14 files changed, 117 insertions(+), 32 deletions(-) diff --git a/src/views/InPlantProducts/index.vue b/src/views/InPlantProducts/index.vue index c5e5b1a..37a42ab 100644 --- a/src/views/InPlantProducts/index.vue +++ b/src/views/InPlantProducts/index.vue @@ -88,7 +88,7 @@ function getWebsocket(val) { } catch (err) {} } function errWebsocket(val) { - headerref.value.HeadererrWebsocket(val) + headerref.value?headerref.value.HeadererrWebsocket(val):'' // console.log(val); } diff --git a/src/views/Mechanics/index.vue b/src/views/Mechanics/index.vue index 1122015..9289317 100644 --- a/src/views/Mechanics/index.vue +++ b/src/views/Mechanics/index.vue @@ -99,7 +99,7 @@ function getWebsocket(val){ } function errWebsocket(val){ - headerref.value.HeadererrWebsocket(val) + headerref.value?headerref.value.HeadererrWebsocket(val):'' // console.log(val); } async function gatcountsOfMachineryFactoryInStatusTimefun() { diff --git a/src/views/MicrofactoryDev/index.vue b/src/views/MicrofactoryDev/index.vue index 2a8e1ee..daa8816 100644 --- a/src/views/MicrofactoryDev/index.vue +++ b/src/views/MicrofactoryDev/index.vue @@ -1,5 +1,5 @@