From 8bf37fda59c1f1482401b99b2620d4288d25b80f Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期二, 12 十一月 2024 20:34:44 +0800
Subject: [PATCH] 1

---
 .env.development                              |    4 ++--
 src/views/mdc/components/StationLiveSpeed.vue |   11 ++++++++---
 src/utils/tool.js                             |    2 +-
 src/views/mdc/station-live.vue                |    2 +-
 4 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/.env.development b/.env.development
index be787be..a61c074 100644
--- a/.env.development
+++ b/.env.development
@@ -1,7 +1,7 @@
 ###
  # @Date: 2024-03-23 09:49:06
- # @LastEditors: gaoshp
- # @LastEditTime: 2024-11-03 19:14:27
+ # @LastEditors: lzhe lzhe@example.com
+ # @LastEditTime: 2024-11-12 20:33:34
  # @FilePath: /cps-web/.env.development
 ### 
 # 鏈湴鐜
diff --git a/src/utils/tool.js b/src/utils/tool.js
index e184be0..c552091 100644
--- a/src/utils/tool.js
+++ b/src/utils/tool.js
@@ -2,7 +2,7 @@
  * @Descripttion: 宸ュ叿闆�
  * @version: 1.2
  * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-11-10 18:49:52
+ * @LastEditTime: 2024-11-12 20:33:31
  */
 
 import CryptoJS from 'crypto-js';
diff --git a/src/views/mdc/components/StationLiveSpeed.vue b/src/views/mdc/components/StationLiveSpeed.vue
index 38eb9d7..3f95c96 100644
--- a/src/views/mdc/components/StationLiveSpeed.vue
+++ b/src/views/mdc/components/StationLiveSpeed.vue
@@ -1,11 +1,11 @@
 <!--
  * @Date: 2024-04-18 21:52:18
  * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-11-12 18:29:09
+ * @LastEditTime: 2024-11-12 20:34:19
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/TimeAlarm.vue
 -->
 <template>
-    <div class="speed">
+    <div class="speed" v-if="isspeed">
         <div id="c" style="width: 30%;height:200px;"></div>
         <div id="d" style="width: 30%;height:200px;"></div>
         <div id="e" style="width: 30%;height:200px;"></div>
@@ -42,6 +42,7 @@
     },
     data() {
         return {
+            isspeed: false,
             input: '',
             option: {
                 graphic: {
@@ -146,7 +147,11 @@
         }
     },
     mounted() {
-        this.showCharts(0,0,0);
+        this.isspeed = true;
+        this.$nextTick(()=> {
+            this.showCharts(0,0,0);
+        })
+        
     }
 }
 </script>
diff --git a/src/views/mdc/station-live.vue b/src/views/mdc/station-live.vue
index cf87897..b4bda24 100644
--- a/src/views/mdc/station-live.vue
+++ b/src/views/mdc/station-live.vue
@@ -2,7 +2,7 @@
  * @Author: lzhe lzhe@example.com
  * @Date: 2024-03-26 10:28:33
  * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-11-10 19:56:18
+ * @LastEditTime: 2024-11-12 18:33:14
  * @FilePath: /smart-web/src/views/master/person/main/index.vue
  * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 -->

--
Gitblit v1.9.3