From 82541a55189fc3e611391ba5ff4342dbe57598dd Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期三, 22 十一月 2023 14:39:55 +0800 Subject: [PATCH] 1.用import异常图标 2.修改飞行巡检的时间格式 3.修改了部分网络请求为api函数形式 --- 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