From d4cc83b8ce249823fc612d6488818751f72dcd6e Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 14 Nov 2025 13:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=A5=E6=98=AF=E5=BD=93=E5=89=8D=E5=80=BC?= =?UTF-8?q?=E5=8F=98=E5=8C=96=E7=9A=84=E7=94=A8=E6=88=B7=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=9D=A5=E8=87=AA=E5=AD=90=E8=A1=A8,=E5=88=99=E5=AF=B9?= =?UTF-8?q?=E4=BA=8E=E7=BB=91=E5=AE=9A=E8=AF=A5=E7=94=A8=E6=88=B7=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=94=E6=9D=A5=E8=87=AA=E5=90=8C=E4=B8=80=E5=AD=90?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E7=BB=84=E7=BB=87=E7=BB=84=E4=BB=B6=E5=81=9A?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86=20:=20=E4=BB=85=E5=A1=AB?= =?UTF-8?q?=E5=85=85=E5=BD=93=E5=89=8D=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/public/form/form.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index 63a4120..d5b1727 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -1819,14 +1819,21 @@ function updateLocation(currentValue: any,currentComp:any) { } }else{ + model.value[element.path].forEach((x:any) => { - - if(workNumber==""){ - x[element.name] = undefined - }else{ - x[element.name] = mainOrg + /* console.log(currentValue) + console.log(currentComp) + console.log(x) */ + + if(x[currentComp] == currentValue){ + if(workNumber==""){ + x[element.name] = undefined + }else{ + x[element.name] = mainOrg + } } + });