From 17b583422095aff6bb91bd8ddff5faeb41c8edb2 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期六, 02 十二月 2023 09:06:24 +0800
Subject: [PATCH] 更新电气管理通讯逻辑

---
 CanadaMes-ui/src/views/Electrical/State.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/CanadaMes-ui/src/views/Electrical/State.vue b/CanadaMes-ui/src/views/Electrical/State.vue
index 50d5bf9..80bfc28 100644
--- a/CanadaMes-ui/src/views/Electrical/State.vue
+++ b/CanadaMes-ui/src/views/Electrical/State.vue
@@ -72,10 +72,16 @@
 
     }
   },
-  created () {
+  // created () {
+  //   this.init();
+  //   this.replaceChineseWithEnglish();
+  // },
+
+  activated(){
     this.init();
     this.replaceChineseWithEnglish();
-  },
+ },
+  
   methods: {
     onButtonClick () {
       this.isButtonClicked = true; // 灏嗘寜閽鑹茶缃负钃濊壊

--
Gitblit v1.8.0