From a07e4702be045efa9b04b49a561463875dd28e0a Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期六, 04 一月 2025 16:18:33 +0800 Subject: [PATCH] 更新配置文件和事件总线逻辑,修复任务处理逻辑 --- Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue b/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue index 07cab63..66c4a4b 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue +++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/roomtemperature.vue @@ -20,7 +20,7 @@ const devices = reactive([]); const num = reactive([]) onMounted(() => { - eventBus.on('stackerData', eventData => { + eventBus.on('locationData', eventData => { // console.log(eventData) console.log(eventData) @@ -41,7 +41,7 @@ } }) eventBus.on('stackerData', eventData => { - if (eventData.deviceName == "甯告俯1鍙峰爢鍨涙満"||eventData.deviceName == "甯告俯2鍙峰爢鍨涙満"||eventData.deviceName == "甯告俯3鍙峰爢鍨涙満"||eventData.deviceName == "甯告俯4鍙峰爢鍨涙満") { + if (eventData.deviceName.indexOf("甯告俯")) { if (Stackers.length == 0) { Stackers.push({ deviceName: eventData.deviceName, data: eventData.data }); } -- Gitblit v1.9.3