From 0e944bfc16136c0a749fc6022e0dfc7f2b4af010 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 15 十月 2024 18:16:17 +0800
Subject: [PATCH] 工单图片样式调整、取消考核页面人脸和车辆的公安部按钮
---
src/views/screen/components/screen-data/components/data-hola.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/views/screen/components/screen-data/components/data-hola.vue b/src/views/screen/components/screen-data/components/data-hola.vue
index da906ed..ba9a0cc 100644
--- a/src/views/screen/components/screen-data/components/data-hola.vue
+++ b/src/views/screen/components/screen-data/components/data-hola.vue
@@ -11,7 +11,7 @@
name: 'DataHola',
props: {
centerValue: {
- type: [Number, String],
+ type: Number,
default: 0
},
holaColor: {
@@ -120,6 +120,12 @@
mounted() {
myChart = echarts.init(this.$refs['chartRef']);
this.initChart();
+ },
+ watch: {
+ centerValue() {
+ myChart = echarts.init(this.$refs['chartRef']);
+ this.initChart();
+ }
}
}
</script>
--
Gitblit v1.8.0