src/components/BaseNav/PublicBounced/GasComponents/ECharts.vue
@@ -37,13 +37,8 @@ data () { return { watchData: [], dialogVisible: false } }, methods: { drawChart: function () { const myChart = this.$echarts.init(this.$refs.main) const option = { dialogVisible: false, options: { title: { // text: '折线图堆叠' }, @@ -199,7 +194,13 @@ } ] } myChart.setOption(option) } }, methods: { drawChart: function () { const myChart = this.$echarts.init(this.$refs.main) // const option = {} myChart.setOption(this.options) } }, mounted () {