src/components/BaseNav/WasteGas/HourData.vue
@@ -123,6 +123,7 @@ }, querySearch () { console.log('查询') this.initnData() }, async initnData () { const data = { @@ -353,6 +354,7 @@ }, CreateChart (id, title, legend, xdata, ydatas, yname, jcdID, datatype) { this.myChart = this.$echarts.init(this.$refs.wastegashour) this.myChart.clear() // this.myChart .clear() let dataUnit = '' if (datatype === 1) {