From de32f49313e2c7534009758193c41be61517f1d5 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期五, 14 五月 2021 15:27:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/components/BaseNav/WasteGas/HourData.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/components/BaseNav/WasteGas/HourData.vue b/src/components/BaseNav/WasteGas/HourData.vue index 150e054..593e75f 100644 --- a/src/components/BaseNav/WasteGas/HourData.vue +++ b/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) { -- Gitblit v1.8.0