From 0613a5b982c6521560ea17eda7c07bb97e6ec5e9 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期三, 17 一月 2024 09:14:43 +0800
Subject: [PATCH] 修改交互状态页面

---
 CanadaMes-ui/src/views/Electrical/InteractionState.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CanadaMes-ui/src/views/Electrical/InteractionState.vue b/CanadaMes-ui/src/views/Electrical/InteractionState.vue
index 940ab9d..456c315 100644
--- a/CanadaMes-ui/src/views/Electrical/InteractionState.vue
+++ b/CanadaMes-ui/src/views/Electrical/InteractionState.vue
@@ -121,7 +121,7 @@
         v-for="(dataGroup, groupIndex) in jsonData"
         :key="groupIndex"
       >
-        <el-card class="json-block"  style="width: 300px; margin-bottom: 2px;height:500px" >
+        <el-card class="json-block"  style="width: 300px; margin-bottom: 2px;height:360px" >
           <div
             class="button-row"
             style="display: flex; justify-content: space-between"
@@ -226,7 +226,7 @@
 
   const zuhe1=obj.zuhe1;
 
-
+  const specialChars = /[^\w\s]/g;
   if(obj.zuhe1){
     
 //console.log(obj);
@@ -237,7 +237,7 @@
     const subitem = item[j];
     if (subitem.type === '0' ) {
       if (j - 1 < zuhe1[i].length) {
-        subitem.value = zuhe1[i][j - 1];
+        subitem.value = zuhe1[i][j - 1].replace(specialChars, "");
       } else {
         subitem.value = 'N/A';
       }

--
Gitblit v1.8.0