From 2d97764c192027cd15288141631e661e97bba60a Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 7 Jun 2024 11:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E9=80=89=E4=B8=8B=E6=8B=89=E5=A4=9A?= =?UTF-8?q?=E9=80=89=E6=95=B0=E6=8D=AE=E6=BA=90=E6=96=B0=E5=A2=9E=E4=BB=BB?= =?UTF-8?q?=E9=80=89=E7=B3=BB=E7=BB=9F=E8=A1=A8=E5=8D=95=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/assembly/index.ts | 3 +++ src/components/DesignForm/formControlAttr.vue | 20 ++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts index 7e025d1bf..5513bbdbd 100644 --- a/src/components/DesignForm/assembly/index.ts +++ b/src/components/DesignForm/assembly/index.ts @@ -100,6 +100,7 @@ export default [ modelValue: '', glxxsz: [], optionsValue3Formid:'', + optionsValue3Field:'', }, options: selectOption, // 下拉选项数据集合 config: config, @@ -118,6 +119,7 @@ export default [ modelValue: [], glxxszForCheckBox: [], optionsValue3Formid:'', + optionsValue3Field:'', }, options: selectOption, config: config, @@ -137,6 +139,7 @@ export default [ appendToBody: true, glxxsz: [], optionsValue3Formid:'', + optionsValue3Field:'', }, options: selectOption, config: config, diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index cc9bf275f..a90bf8c37 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -2279,6 +2279,11 @@ watch(()=>store.activeKey, () => { setTimeout(() => { formidChanged() }, 800); + }else if(controlData.value.type==='radio'||controlData.value.type==='select'||controlData.value.type==='checkbox'){ + + setTimeout(() => { + formidChangedOptionsValue3() + }, 800); } }) @@ -3110,7 +3115,8 @@ const loadNextPage = () => {