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 }