From 8a5a5ff615e1ac7cf65c298b2e641368f7b1e2b3 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期五, 06 十二月 2024 14:08:13 +0800
Subject: [PATCH] 修改单位

---
 src/views/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index ce0393f..8ccd4ef 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -183,7 +183,7 @@
           ]
 
         })
-        let sizeFun = function () {
+        let sizeFun =  ()=> {
           myChart.resize()
         }
         window.addEventListener("resize", sizeFun)
@@ -326,13 +326,14 @@
                 }
               }]
           })
-        }
-
-
-        window.onresize = function () {
+          window.onresize =  () =>{
           myChart2.resize()
           myChart3.resize()
         }
+        }
+
+
+      
         this.loading = false;
       });
 

--
Gitblit v1.8.0