From 6e229822c315f85465d27f2c411e0c9382acf7f5 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 26 Oct 2023 13:39:14 +0800
Subject: [PATCH] fix:实时风场图点击弹窗修改
---
src/components/Echarts/BarChart.vue | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/components/Echarts/BarChart.vue b/src/components/Echarts/BarChart.vue
index aa2f02b..f296750 100644
--- a/src/components/Echarts/BarChart.vue
+++ b/src/components/Echarts/BarChart.vue
@@ -3,7 +3,7 @@
</template>
<script>
-import echarts from 'echarts'
+import * as echarts from 'echarts'
// require('echarts/theme/macarons') // echarts theme
// import resize from './mixins/resize'
@@ -40,11 +40,9 @@
},
watch: {
datas(n) {
-
this.initChart()
},
datas1(n) {
-
this.initChart()
}
},
--
Gitblit v1.8.0