From aa3b7d95ae397d53356d30fca84805469a6b020d Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 20 十一月 2024 11:49:27 +0800
Subject: [PATCH] 运行监控导出

---
 src/views/screen/components/subheading.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/screen/components/subheading.vue b/src/views/screen/components/subheading.vue
index 3af62bf..9935174 100644
--- a/src/views/screen/components/subheading.vue
+++ b/src/views/screen/components/subheading.vue
@@ -88,7 +88,6 @@
           }
         ]
       }
-
       myAnnular.setOption(option)
     },
 
@@ -107,6 +106,17 @@
         this.isData.color
       )
     })
+  },
+  watch: {
+    isData: {
+      handler(newVal, oldVal) {
+        this.getW()
+        this.$nextTick(() => {
+          this.initChart(newVal.value1, newVal.value2, newVal.color);
+        });
+      },
+      deep: true
+    },
   }
 }
 </script>
@@ -138,7 +148,6 @@
 
     .title {
       text-align: center;
-      font-size: 14px;
       color: #dcf8ff;
       white-space: nowrap;
       overflow: hidden;

--
Gitblit v1.8.0