From 7b7421b05d66daef43bc675b3c227dd92bfd8d78 Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期三, 14 四月 2021 18:47:38 +0800 Subject: [PATCH] - --- src/components/BaseNav/PublicBounced/common/PublicChart.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/common/PublicChart.vue b/src/components/BaseNav/PublicBounced/common/PublicChart.vue index 0ea49c3..0428a38 100644 --- a/src/components/BaseNav/PublicBounced/common/PublicChart.vue +++ b/src/components/BaseNav/PublicBounced/common/PublicChart.vue @@ -24,7 +24,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> @@ -53,7 +53,9 @@ }, mounted () { this.$refs.Echatrs.CreateChart() - this.$refs.Echatrs.effChartShow() + }, + updated () { + this.$refs.Echats.CreateChart() }, data () { return { @@ -63,7 +65,7 @@ }, methods: { tabTaggle (taggleMenu, num) { - this.currentTab = taggleMenu + this.currentTab = this.current() this.active = num // debugger }, -- Gitblit v1.8.0