From 5278e8dc49825bd6c3ed79044fdf1b76c46dbf99 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 14 四月 2021 12:46:00 +0800
Subject: [PATCH] table数据

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

diff --git a/src/components/BaseNav/PublicBounced/common/PublicChart.vue b/src/components/BaseNav/PublicBounced/common/PublicChart.vue
index 022fc87..9ec7c62 100644
--- a/src/components/BaseNav/PublicBounced/common/PublicChart.vue
+++ b/src/components/BaseNav/PublicBounced/common/PublicChart.vue
@@ -22,7 +22,7 @@
             <span >瓒呮爣</span>
             <i style=" background: orange;"></i>
         </div>
-        <component :is="currentTab" v-bind="$attrs" ref="Echatrs"></component>
+        <component :is="currentTab" v-bind="$attrs" ref="Echats"></component>
     </div>
 </template>
 
@@ -45,11 +45,11 @@
     EChartsTable
   },
   mounted () {
-    this.$refs.Echatrs.CreateChart()
+    this.$refs.Echats.CreateChart()
   },
   data () {
     return {
-      // currentTab: EChartsHour,
+      currentTab: EChartsHour,
       active: '1'
     }
   },
@@ -57,6 +57,7 @@
     tabTaggle (taggleMenu, num) {
       this.currentTab = taggleMenu
       this.active = num
+      this.currentTab = ''
       // debugger
     }
   }

--
Gitblit v1.8.0