diff --git a/src/mods/AppAuth/authApply.vue b/src/mods/AppAuth/authApply.vue index e9925d0..b44f2ec 100644 --- a/src/mods/AppAuth/authApply.vue +++ b/src/mods/AppAuth/authApply.vue @@ -151,10 +151,10 @@ export default { } let flag = [baseInfo, contract, household, extra].flat().reverse().some(e => { if (e.required && !this.form[e.prop]) { - if (!e.dict && (['textarea', 'idNumber'].includes(e.type) || !e.type)) return this.$u.toast("请输入" + e.label) - else return this.$u.toast("请选择" + e.label) + if (!e.dict && (['textarea', 'idNumber'].includes(e.type) || !e.type)) return this.$u.toast("请输入" + e.label) || true + else return this.$u.toast("请选择" + e.label) || true } else if (e.type == 'idNumber' && !this.$idCardNoUtil.checkIdCardNo(this.form[e.prop])) { - return this.$u.toast("请输入正确的身份证号") + return this.$u.toast("请输入正确的身份证号") || true } }) if (!flag) {