src/components/BaseNav/WasteGas/HourData.vue
@@ -112,6 +112,7 @@ }, querySearch () { console.log('查询') this.initnData() }, async initnData () { const data = { @@ -342,6 +343,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) {