From a82b1227e97a2854e442a8265fb5d3b4bb38b303 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 8 Jul 2024 14:43:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=B1=85=E6=B0=91=E6=8B=93?= =?UTF-8?q?=E5=B1=95=E4=BF=A1=E6=81=AF=E8=A1=A8=E5=8D=95=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiExpand/index.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/components/resiExpand/index.vue b/src/views/components/resiExpand/index.vue index ca53d6540..0851c9a4a 100644 --- a/src/views/components/resiExpand/index.vue +++ b/src/views/components/resiExpand/index.vue @@ -311,14 +311,15 @@ export default { handleClickSUbmitExpand() { console.log(this.formList); console.log(this.form); - this.formList.forEach((group) => { - group.children.forEach((item) => { - if (item.check && !this.form[group.id][item.formName]) { - this.$message.error(`${item.label}不能为空`); - throw new Error(`${item.label}不能为空`); - } - }); - }); + // 去掉添加居民拓展信息表单验证 + // this.formList.forEach((group) => { + // group.children.forEach((item) => { + // if (item.check && !this.form[group.id][item.formName]) { + // this.$message.error(`${item.label}不能为空`); + // throw new Error(`${item.label}不能为空`); + // } + // }); + // }); if (this.formType === 'add') { this.form.id = this.form.partyOrgId; }