From b376af7c18021e8e2600c21a9328fedd335ef482 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期五, 10 一月 2025 18:55:15 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/BaiBuLiKu
---
Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Staticlibrary.vue | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Staticlibrary.vue b/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Staticlibrary.vue
index f6b7a83..96bc5cc 100644
--- a/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Staticlibrary.vue
+++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/Devicestatus/Craftlibrary/Staticlibrary.vue
@@ -29,6 +29,7 @@
// 鐩戝惉璁惧鏁版嵁鍙樺寲
onMounted(() => {
eventBus.on('locationData', eventData => {
+ console.log(eventData)
if (eventData.deviceName === "闈欑疆杈撻�佺嚎") {
if (devices.length <= 0) {
@@ -52,7 +53,7 @@
}
});
eventBus.on('stackerData', eventData => {
- if (eventData.deviceName == "闈欑疆1鍙峰爢鍨涙満") {
+ if (eventData.deviceName.indexOf("闈欑疆") != -1) {
if (Stackers.length == 0) {
Stackers.push({ deviceName: eventData.deviceName, data: eventData.data });
}
@@ -66,10 +67,6 @@
}
}
}
- // if (eventData.deviceName == "闄堝寲1鍙峰爢鍨涙満") {
- // StackerOne.deviceName = eventData.deviceName;
- // StackerOne.data = eventData.data
- // }
})
});
</script>
--
Gitblit v1.9.3