|
@@ -89,19 +89,19 @@ export default {
|
89
|
89
|
this.Toast('手机号格式错误')
|
90
|
90
|
return false
|
91
|
91
|
}
|
92
|
|
- if (!this.IsPhone(this.Code === '')) {
|
|
92
|
+ if (this.Code === '') {
|
93
|
93
|
this.Toast('请输入验证码')
|
94
|
94
|
return false
|
95
|
95
|
}
|
96
|
|
- if (!this.IsPhone(this.Password === '')) {
|
|
96
|
+ if (this.Password === '') {
|
97
|
97
|
this.Toast('请输入新密码')
|
98
|
98
|
return false
|
99
|
99
|
}
|
100
|
|
- if (!this.IsPhone(this.PasswordAgain === '')) {
|
|
100
|
+ if (this.PasswordAgain === '') {
|
101
|
101
|
this.Toast('请确认新密码')
|
102
|
102
|
return false
|
103
|
103
|
}
|
104
|
|
- if (!this.IsPhone(this.Password !== this.PasswordAgain)) {
|
|
104
|
+ if (this.Password !== this.PasswordAgain) {
|
105
|
105
|
this.Toast('两次密码输入不一致')
|
106
|
106
|
return false
|
107
|
107
|
}
|