BUG 28300

This commit is contained in:
aixianling
2022-03-21 18:51:02 +08:00
parent fd159675c6
commit 1c37e169e9

View File

@@ -480,7 +480,7 @@ export default {
return this.$u.toast('请选择区域') return this.$u.toast('请选择区域')
} }
if (this.form.userType == 1) { if (this.form.userType == 1) {
if (!/^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/.test(this.form.income)) { if (!!this.form.income && !/^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/.test(this.form.income)) {
return this.$u.toast('输入的数字不能超过10万') return this.$u.toast('输入的数字不能超过10万')
} }
} }