派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-04-15 6f1866ab3487a1e26d6b565287e8aba707d49b92
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
    }