From 70b35e7160ebad32ccf133c67b282bff41d81dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=99=E4=B9=88=E9=9A=BE=E6=BC=94?= Date: Fri, 18 Oct 2024 14:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E5=B1=9E=E6=80=A7color=E6=B7=B1=E5=BA=A6=E7=9B=91?= =?UTF-8?q?=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/datav-vue3/components/Decoration1/src/index.vue | 2 +- packages/datav-vue3/components/Decoration10/src/index.vue | 2 +- packages/datav-vue3/components/Decoration11/src/index.vue | 2 +- packages/datav-vue3/components/Decoration2/src/index.vue | 2 +- packages/datav-vue3/components/Decoration3/src/index.vue | 2 +- packages/datav-vue3/components/Decoration4/src/index.vue | 2 +- packages/datav-vue3/components/Decoration5/src/index.vue | 2 +- packages/datav-vue3/components/Decoration6/src/index.vue | 2 +- packages/datav-vue3/components/Decoration7/src/index.vue | 2 +- packages/datav-vue3/components/Decoration8/src/index.vue | 2 +- packages/datav-vue3/components/Decoration9/src/index.vue | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/datav-vue3/components/Decoration1/src/index.vue b/packages/datav-vue3/components/Decoration1/src/index.vue index 3cbcccb..8865482 100644 --- a/packages/datav-vue3/components/Decoration1/src/index.vue +++ b/packages/datav-vue3/components/Decoration1/src/index.vue @@ -125,7 +125,7 @@ function mergeColor() { watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration10/src/index.vue b/packages/datav-vue3/components/Decoration10/src/index.vue index 945527d..013b5d7 100644 --- a/packages/datav-vue3/components/Decoration10/src/index.vue +++ b/packages/datav-vue3/components/Decoration10/src/index.vue @@ -175,7 +175,7 @@ const { width, height } = autoResize(decoration10) watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration11/src/index.vue b/packages/datav-vue3/components/Decoration11/src/index.vue index 96d6c9d..0807ac8 100644 --- a/packages/datav-vue3/components/Decoration11/src/index.vue +++ b/packages/datav-vue3/components/Decoration11/src/index.vue @@ -78,7 +78,7 @@ const { width, height } = autoResize(decoration11) watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration2/src/index.vue b/packages/datav-vue3/components/Decoration2/src/index.vue index a8343a7..d98628d 100644 --- a/packages/datav-vue3/components/Decoration2/src/index.vue +++ b/packages/datav-vue3/components/Decoration2/src/index.vue @@ -78,7 +78,7 @@ function calcSVGData() { watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) watch(() => props.reverse, () => { calcSVGData() diff --git a/packages/datav-vue3/components/Decoration3/src/index.vue b/packages/datav-vue3/components/Decoration3/src/index.vue index 6083a5a..2b18387 100644 --- a/packages/datav-vue3/components/Decoration3/src/index.vue +++ b/packages/datav-vue3/components/Decoration3/src/index.vue @@ -94,7 +94,7 @@ function mergeColor() { watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration4/src/index.vue b/packages/datav-vue3/components/Decoration4/src/index.vue index 2292def..d34dfd4 100644 --- a/packages/datav-vue3/components/Decoration4/src/index.vue +++ b/packages/datav-vue3/components/Decoration4/src/index.vue @@ -56,7 +56,7 @@ const { width, height } = autoResize(decoration3) watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration5/src/index.vue b/packages/datav-vue3/components/Decoration5/src/index.vue index 5f09e16..7e0d5d7 100644 --- a/packages/datav-vue3/components/Decoration5/src/index.vue +++ b/packages/datav-vue3/components/Decoration5/src/index.vue @@ -111,7 +111,7 @@ function mergeColor() { watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration6/src/index.vue b/packages/datav-vue3/components/Decoration6/src/index.vue index b62c52a..a10a714 100644 --- a/packages/datav-vue3/components/Decoration6/src/index.vue +++ b/packages/datav-vue3/components/Decoration6/src/index.vue @@ -74,7 +74,7 @@ const state = reactive({ watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration7/src/index.vue b/packages/datav-vue3/components/Decoration7/src/index.vue index 0dcf566..dcad64e 100644 --- a/packages/datav-vue3/components/Decoration7/src/index.vue +++ b/packages/datav-vue3/components/Decoration7/src/index.vue @@ -49,7 +49,7 @@ const state = reactive({ watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration8/src/index.vue b/packages/datav-vue3/components/Decoration8/src/index.vue index 056e7c1..548a014 100644 --- a/packages/datav-vue3/components/Decoration8/src/index.vue +++ b/packages/datav-vue3/components/Decoration8/src/index.vue @@ -49,7 +49,7 @@ const state = reactive({ watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() diff --git a/packages/datav-vue3/components/Decoration9/src/index.vue b/packages/datav-vue3/components/Decoration9/src/index.vue index d76af8b..38f5859 100644 --- a/packages/datav-vue3/components/Decoration9/src/index.vue +++ b/packages/datav-vue3/components/Decoration9/src/index.vue @@ -116,7 +116,7 @@ const state = reactive({ watch(() => props.color, () => { mergeColor() -}) +}, { deep: true }) onMounted(() => { mergeColor() -- Gitee