From d618bad9bc8ef7a38a7c90847f7313b50220fd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 10 Dec 2024 18:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/custom-module/model-text/model-text-style.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 4c1ad72f..849cf59e 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 @@ -170,7 +170,10 @@ const text_change = (key: string) => { } } else { // 如果没有数据,就赋值为空 - form.value.data_source_field = get_data_fields([], 'text', ''); + form.value.data_source_field = { + id: [], + option: [], + }; } }; // 数据字段切换时,更新另外一个数据