|
@@ -81,10 +81,10 @@
|
|
|
that.$toast("请输入验证码")
|
|
|
return
|
|
|
}
|
|
|
- if(this.code!=this.newcode){
|
|
|
- that.$toast("验证码错误,请重新输入")
|
|
|
- return
|
|
|
- }
|
|
|
+ // if(this.code!=this.newcode){
|
|
|
+ // that.$toast("验证码错误,请重新输入")
|
|
|
+ // return
|
|
|
+ // }
|
|
|
let regphone = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
|
|
|
if (this.phonenumber && !regphone.test(this.phonenumber)) {
|
|
|
that.$toast("请输入正确的手机号")
|