From e1c28921470ca2a82403ef5a7bc07f1c48619b36 Mon Sep 17 00:00:00 2001
From: 刘嘉威 <daidaibg@163.com>
Date: 星期三, 26 十月 2022 16:51:43 +0800
Subject: [PATCH] feat: 增加右上 右中图表

---
 src/views/index/center-bottom.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/index/center-bottom.vue b/src/views/index/center-bottom.vue
index c047996..b0ee361 100644
--- a/src/views/index/center-bottom.vue
+++ b/src/views/index/center-bottom.vue
@@ -17,7 +17,6 @@
   });
 };
 const setOption =async (newData: any) => {
-  await nextTick()
   option.value = {
     tooltip: {
       trigger: "axis",
@@ -150,7 +149,10 @@
     ],
   };
 };
+onMounted(()=>{
 getData();
+
+})
 </script>
 
 <template>

--
Gitblit v1.8.0