From 4fcf766a0e293ed8163b981d0766f80eb9c84a2a Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期一, 24 三月 2025 16:44:43 +0800
Subject: [PATCH] 上片、掰片、卧式缓存、磨边、大理片笼、钢化、系统管理模块,控制台报错问题

---
 UI-Project/src/views/Identify/identifwutwo.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/UI-Project/src/views/Identify/identifwutwo.vue b/UI-Project/src/views/Identify/identifwutwo.vue
index 9dda4a0..defc531 100644
--- a/UI-Project/src/views/Identify/identifwutwo.vue
+++ b/UI-Project/src/views/Identify/identifwutwo.vue
@@ -1,6 +1,6 @@
 <template>
   <div style="height: 500px;">
-    <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 800px;" v-loading="loading">
+    <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 800px;">
     <div style="text-align: center;"> {{ $t('processCard.temperinglayout') }}锛歿{ ava }}-{{ avanum }} </div>
     <el-scrollbar height="750px" width="1400px" style="background-color: #e9e9eb;">
         <div style="position: relative;">
@@ -49,20 +49,20 @@
 const blind = ref(false)
 const currentGlassId = ref(null);
 const adjustedRects = ref([]);
-const ava = ref([]);
-const avanum = ref([]);
+const ava = ref('');
+const avanum = ref('');
 let socket = null;
 const socketUrl = `ws://${WebSocketHost}:${host}/api/cacheGlass/api/talk/currentCutDrawingTwo`;
 const handleMessage = (data: any) => {
   if (data.engineer != null) {
   ava.value = data.engineer[0]
   }else{
-    ava.value = 0
+    ava.value = ''
   }
   if (data.engineer != null) {
     avanum.value = data.sequence[0]
   }else{
-    avanum.value = 0
+    avanum.value = ''
   }
       const scaleFactor = 1621.78 / 6000;
       const scaleFactory = 750 / 3300;

--
Gitblit v1.8.0