src/components/BaseNav/PublicBounced/common/PublicChart.vue
@@ -51,12 +51,6 @@ EChartsDateWasteWater, EChartsWasteWaterTable }, mounted () { this.$refs.Echatrs.CreateChart() }, updated () { this.$refs.Echats.CreateChart() }, data () { return { currentTab: this.current(), @@ -72,10 +66,8 @@ current (currentTab) { if (this.$attrs.value === 'feishui') { currentTab = 'EChartsHourWasteWater' console.log(currentTab) } else { currentTab = 'EChartsHour' console.log(currentTab) } return currentTab }