fix bug
This commit is contained in:
parent
89ddba5321
commit
20e27317be
@ -101,7 +101,6 @@ export default {
|
|||||||
this.$u.toast('手机号不可为空');
|
this.$u.toast('手机号不可为空');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
console.log(phone.test(this.personalPhone));
|
|
||||||
if(!this.$u.test.mobile(this.personalPhone) && !phone.test(this.personalPhone)) {
|
if(!this.$u.test.mobile(this.personalPhone) && !phone.test(this.personalPhone)) {
|
||||||
this.$u.toast('请正确填写手机号');
|
this.$u.toast('请正确填写手机号');
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user