From 22e5d744b28c0df0f115476b44a75d1d46cac228 Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期二, 13 四月 2021 17:36:12 +0800
Subject: [PATCH] echarts数据显示功能完善

---
 src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue b/src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue
index 2dd2517..ce8f4e9 100644
--- a/src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue
+++ b/src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue
@@ -154,7 +154,7 @@
     },
     CreateChart: function (id, title, legend, xdata, ydatas, yname, jcdID, datatype) {
       this.myChart = this.$echarts.init(this.$refs.main)
-      // this.myChart.clear()
+      this.myChart.clear()
       var dataUnit = ''
       if (datatype === 1) {
         dataUnit = '姘旈噺(m鲁/d)'
@@ -339,7 +339,6 @@
         },
         legend: { // 鍥句緥
           data: legend
-          // color:
         },
         dataZoom: [{
           type: 'inside',
@@ -537,6 +536,7 @@
     //   }
     // }
   }
+
 }
 </script>
 

--
Gitblit v1.8.0