From 66e48ee8e286533a9614efa34d42297213c1da4b Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 04 六月 2025 17:34:11 +0800
Subject: [PATCH] 动态溯源(待完成)

---
 src/components/chart/RealTimeLineChart.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/components/chart/RealTimeLineChart.vue b/src/components/chart/RealTimeLineChart.vue
index fa8da32..7a2ea1d 100644
--- a/src/components/chart/RealTimeLineChart.vue
+++ b/src/components/chart/RealTimeLineChart.vue
@@ -44,7 +44,7 @@
       }
       if (this.lineChart) {
         this.lineChart.setOption(this.option, { notMerge: true });
-        console.log('鎶樼嚎鍥剧敓鎴愶細绔嬪嵆');
+        // console.log('鎶樼嚎鍥剧敓鎴愶細绔嬪嵆');
       } else {
         this.onChartCreated = () => {
           this.lineChart.setOption(this.option, { notMerge: true });
@@ -54,12 +54,13 @@
   },
   mounted() {
     this.lineChart = echarts.init(this.$refs.lineChart);
-    setTimeout(() => {
-      if (typeof this.onChartCreated === 'function') {
-        this.onChartCreated();
-        console.log('鎶樼嚎鍥剧敓鎴愶細婊炲悗');
-      }
-    }, 500);
+    this.onChartCreated();
+    // setTimeout(() => {
+    //   if (typeof this.onChartCreated === 'function') {
+    //     this.onChartCreated();
+    //     // console.log('鎶樼嚎鍥剧敓鎴愶細婊炲悗');
+    //   }
+    // }, 500);
   }
 };
 </script>

--
Gitblit v1.9.3