BUG 28300
This commit is contained in:
@@ -480,7 +480,7 @@ export default {
|
||||
return this.$u.toast('请选择区域')
|
||||
}
|
||||
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万')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user