From c2f95b0b9090a2394b5b068582b932a5e57b86aa Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期二, 05 九月 2023 18:19:37 +0800
Subject: [PATCH] 雷达图 新增综合风险排名 数据接入配置

---
 src/views/line_graph/components/LineChart.vue |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/views/line_graph/components/LineChart.vue b/src/views/line_graph/components/LineChart.vue
index e1c4b89..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瀹炰緥
@@ -116,7 +116,6 @@
     // 璺熼〉闈㈠搷搴斿紡鍙樺寲
     resizeChart() {
       // this.chart.resize();
-      // delay(600).then(() => this.chart.resize());
       this.$nextTick(() => {
         if (this.chart) {
           this.chart.resize();
@@ -130,7 +129,7 @@
 <style>
 .line-chart {
   width: 100%;
-  height: 35vh;
+  height: 300px;
   margin-top: 25px;
 }
 </style>

--
Gitblit v1.9.3