diff --git a/src/apps/AppMonitoringObject/Add.vue b/src/apps/AppMonitoringObject/Add.vue index 836dcc43..c7bd387c 100644 --- a/src/apps/AppMonitoringObject/Add.vue +++ b/src/apps/AppMonitoringObject/Add.vue @@ -609,19 +609,18 @@ export default { if (!id) { if (!this.form.objectType) { - this.$u.toast('请选择监测对象类型') + return this.$u.toast('请选择监测对象类型') } - } if (!this.form.idNumber) { - this.$u.toast('请输入身份证号') + return this.$u.toast('请输入身份证号') } if (!this.form.phone) { - this.$u.toast('请输入联系方式') + return this.$u.toast('请输入联系方式') } if (!this.form.currentAreaId) { - this.$u.toast('请选择现住址') + return this.$u.toast('请选择现住址') }