From 7a99f8624b085fc309ffa6b7c98bb813a1c33834 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 22 十月 2025 17:06:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 UI-Project/src/views/hollow/hollowequipment.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowequipment.vue b/UI-Project/src/views/hollow/hollowequipment.vue
index 5f8e785..4e80996 100644
--- a/UI-Project/src/views/hollow/hollowequipment.vue
+++ b/UI-Project/src/views/hollow/hollowequipment.vue
@@ -1094,16 +1094,20 @@
   currentPage.value = newPage;
 };
 const handleMessage = (data) => {
-  if (data.queueInfo != null) {
+  if (data.queueInfo[0] != null) {
   const rawData = data.queueInfo[0]
   const formattedData = Object.entries(rawData).map(([key, data]) => ({  
     title: key,  
     tableDataa: Array.isArray(data) ? data : [data]  
   }));  
   tabList.value = formattedData;  
-}
+}else{
+      tabList.value = [];
+  }
   if (tabList.value.length > 0) {  
     activeTab.value = tabList.value[0].title;  
+  }else {
+      activeTab.value = '';
   }
   internalInstance.ctx.$forceUpdate();  
 

--
Gitblit v1.8.0