From e723b7220b3fcda8c1633557f44f0afc1f0d2301 Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期三, 14 四月 2021 18:40:29 +0800
Subject: [PATCH] 修改默认显示图表

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

diff --git a/src/components/BaseNav/PublicBounced/common/PublicChart.vue b/src/components/BaseNav/PublicBounced/common/PublicChart.vue
index 282bb30..f9e26bd 100644
--- a/src/components/BaseNav/PublicBounced/common/PublicChart.vue
+++ b/src/components/BaseNav/PublicBounced/common/PublicChart.vue
@@ -53,9 +53,11 @@
   },
   mounted () {
     this.$refs.Echatrs.CreateChart()
+    this.$refs.Echatrs.effChartShow()
   },
   updated () {
     this.$refs.Echats.CreateChart()
+    this.$refs.Echats.effChartShow()
   },
   data () {
     return {
@@ -72,10 +74,8 @@
     current (currentTab) {
       if (this.$attrs.value === 'feishui') {
         currentTab = 'EChartsHourWasteWater'
-        console.log(currentTab)
       } else {
         currentTab = 'EChartsHour'
-        console.log(currentTab)
       }
       return currentTab
     }

--
Gitblit v1.8.0