From d404f7f0ffb8b7b8b930a2b583afe2037cffc3f8 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期五, 01 十二月 2023 13:58:03 +0800 Subject: [PATCH] 修改LineChart.vue位置 --- src/views/exception/components/DustLineChart.vue | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/views/exception/components/DustLineChart.vue b/src/views/exception/components/DustLineChart.vue index 4f2880e..f7b0c85 100644 --- a/src/views/exception/components/DustLineChart.vue +++ b/src/views/exception/components/DustLineChart.vue @@ -5,9 +5,7 @@ --> <template> - <div id="main" class="line-chart-exception"></div> - </template> @@ -49,11 +47,7 @@ window.addEventListener('resize', this.resizeChart); }, }, - // beforeUnmount() { - // if (this.chart) { - // this.chart.dispose; - // } - // }, + methods: { initChart() { // 鍒涘缓echarts瀹炰緥 @@ -112,7 +106,7 @@ <style scoped> .line-chart-exception { - width: 700px; + width: 600px; height: 250px; margin-bottom: 20px; min-width: 500px; -- Gitblit v1.9.3