From fabdb03369207be4328676e466f5b75bf00986b4 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Mon, 20 May 2024 15:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E9=80=89=E9=A1=B9=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE-=E5=8D=95=E9=80=89=EF=BC=8C=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E8=81=94=E5=8A=A8=E9=9A=90=E8=97=8F=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/public/form/form.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index 50a9289a4..e6e186b12 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -390,10 +390,17 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any) } } } + } } } } + for(let i = 0; i< hideFieldArr.length;i++){ + console.log(i+"dsfafdasdfasfsda===="+hideFieldArr[i]+"=====jiuopfdsahokjuhuiofadshuiofadsjbknfdjisahuifhjken wij================"+model.value[hideFieldArr[i]]) + if(typeof model.value[hideFieldArr[i]] === "string" || typeof model.value[hideFieldArr[i]] === "number"){ + model.value[hideFieldArr[i]] = "" + } + } console.log(hideFieldArr) if(formProps.value.type!=5){ props.formData.config.hideField?.push(...hideFieldArr)