From f69b7ff73aab2174cb17c7c3e4e716c6e5170e56 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 20 九月 2024 14:38:03 +0800
Subject: [PATCH] 运行监控导出加标签

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

diff --git a/src/views/screen/components/subheading.vue b/src/views/screen/components/subheading.vue
index 3af62bf..bca2bc0 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>

--
Gitblit v1.8.0