From 60f60c96983473f2a7b8a0ec064735d5790ce664 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 15 Mar 2022 14:04:03 +0800 Subject: [PATCH] 28229 --- src/apps/AppPeopleList/Add.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/AppPeopleList/Add.vue b/src/apps/AppPeopleList/Add.vue index abdda7f7..f2f12d1e 100644 --- a/src/apps/AppPeopleList/Add.vue +++ b/src/apps/AppPeopleList/Add.vue @@ -223,7 +223,7 @@ export default { if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) { return this.$u.toast('现住址必须选到村级') } - if(!/[^0]0{0,2}$/.test(this.form.householdAreaId)) { + if(this.form.householdAreaId && !/[^0]0{0,2}$/.test(this.form.householdAreaId)) { return this.$u.toast('户籍地必须选到村级') } this.form.age = this.$calcAge(this.form.idNumber)