From b7d7ba71ac11b10d6cd8dedca24ffaf751dc81e1 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 18 九月 2024 16:17:26 +0800 Subject: [PATCH] 大屏优化 --- src/views/screen/components/subheading.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/views/screen/components/subheading.vue b/src/views/screen/components/subheading.vue index 3af62bf..d387fd1 100644 --- a/src/views/screen/components/subheading.vue +++ b/src/views/screen/components/subheading.vue @@ -107,6 +107,18 @@ this.isData.color ) }) + }, + watch: { + isData(){ + this.getW() + this.$nextTick(() => { + this.initChart( + this.isData.value1, + this.isData.value2, + this.isData.color + ) + }) + } } } </script> -- Gitblit v1.8.0