diff --git a/src/apps/AppMonitoringObject/Add.vue b/src/apps/AppMonitoringObject/Add.vue index 59b8e8ad..27f312cd 100644 --- a/src/apps/AppMonitoringObject/Add.vue +++ b/src/apps/AppMonitoringObject/Add.vue @@ -16,17 +16,20 @@ - +
@@ -422,8 +425,8 @@ export default { if (this.form.phone.length == 11 && !regTel.test(this.form.phone)) { return this.$u.toast('请输入正确的手机号') } - if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) { - return this.$u.toast('现住址必须选到村级') + if(!/[^0]0{6,7}$/.test(this.form.currentAreaId)) { + return this.$u.toast('现住址必须选到县级') } if(this.form.files.length) {