From 34257f504330191b1a698eb48b52217095db47fe Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期一, 04 九月 2023 18:10:46 +0800 Subject: [PATCH] 扬尘vue --- src/views/line_graph/components/LineChart.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/line_graph/components/LineChart.vue b/src/views/line_graph/components/LineChart.vue index 17021bd..9c2ef43 100644 --- a/src/views/line_graph/components/LineChart.vue +++ b/src/views/line_graph/components/LineChart.vue @@ -53,11 +53,11 @@ }, }, - beforeUnmount() { - if (this.chart) { - this.chart.dispose(); - } - }, + // beforeUnmount() { + // if (this.chart) { + // this.chart.dispose(); + // } + // }, methods: { intiChart() { // 鍒涘缓echarts瀹炰緥 @@ -129,7 +129,7 @@ <style> .line-chart { width: 100%; - height: 35vh; + height: 300px; margin-top: 25px; } </style> -- Gitblit v1.9.3