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 | 4 +--- src/components/BaseNav/PublicBounced/PublicBounced.vue | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/PublicBounced.vue b/src/components/BaseNav/PublicBounced/PublicBounced.vue index e3c7080..787f244 100644 --- a/src/components/BaseNav/PublicBounced/PublicBounced.vue +++ b/src/components/BaseNav/PublicBounced/PublicBounced.vue @@ -61,6 +61,7 @@ }, beforeUpdate () { this.$refs.PublicChart.$refs.Echats.CreateChart() + this.$refs.PublicChart.$refs.Echats.effChartShow() }, methods: { closePopup () { diff --git a/src/components/BaseNav/PublicBounced/common/PublicChart.vue b/src/components/BaseNav/PublicBounced/common/PublicChart.vue index f9e26bd..0428a38 100644 --- a/src/components/BaseNav/PublicBounced/common/PublicChart.vue +++ b/src/components/BaseNav/PublicBounced/common/PublicChart.vue @@ -53,11 +53,9 @@ }, mounted () { this.$refs.Echatrs.CreateChart() - this.$refs.Echatrs.effChartShow() }, updated () { this.$refs.Echats.CreateChart() - this.$refs.Echats.effChartShow() }, data () { return { @@ -67,7 +65,7 @@ }, methods: { tabTaggle (taggleMenu, num) { - this.currentTab = taggleMenu + this.currentTab = this.current() this.active = num // debugger }, -- Gitblit v1.8.0