From 6be8e49556d2dc708f83ea54f24c5d7a33af5e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Wed, 13 Nov 2024 18:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=93=BE=E6=8E=A5=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=BD=AE=E7=A9=BA=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/custom-module/model-icon/model-icon-style.vue | 2 +- .../common/custom-module/model-image/model-image-style.vue | 2 +- .../common/custom-module/model-text/model-text-style.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/common/custom-module/model-icon/model-icon-style.vue b/src/components/common/custom-module/model-icon/model-icon-style.vue index 83e3c07d..27ce1630 100644 --- a/src/components/common/custom-module/model-icon/model-icon-style.vue +++ b/src/components/common/custom-module/model-icon/model-icon-style.vue @@ -137,7 +137,7 @@ const icon_change = (key: string) => { }; const link_change = (key: string) => { if (key == '2') { - form.value.icon_link = ''; + form.value.icon_link = {}; } else { form.value.data_source_link = ''; } diff --git a/src/components/common/custom-module/model-image/model-image-style.vue b/src/components/common/custom-module/model-image/model-image-style.vue index d05a80cb..6c0f0a16 100644 --- a/src/components/common/custom-module/model-image/model-image-style.vue +++ b/src/components/common/custom-module/model-image/model-image-style.vue @@ -112,7 +112,7 @@ const img_src_change = (key: string) => { // 数据链接字段切换时,更新另外一个数据 const img_link_change = (key: string) => { if (key == '2') { - form.value.link = ''; + form.value.link = {}; } else { form.value.data_source_link = ''; } diff --git a/src/components/common/custom-module/model-text/model-text-style.vue b/src/components/common/custom-module/model-text/model-text-style.vue index e30a015b..0a3cf66d 100644 --- a/src/components/common/custom-module/model-text/model-text-style.vue +++ b/src/components/common/custom-module/model-text/model-text-style.vue @@ -167,7 +167,7 @@ const text_change = (key: string) => { // 数据字段切换时,更新另外一个数据 const text_link_change = (key: string) => { if (key == '2') { - form.value.text_link = ''; + form.value.text_link = {}; } else { form.value.data_source_link = ''; }