手机登录
This commit is contained in:
@ -188,11 +188,9 @@ export class UserLoginComponent implements OnInit, OnDestroy {
|
||||
if (!this.captchaSF.valid) {
|
||||
return;
|
||||
}
|
||||
// this.userSrv.loginByCaptcha(this.captchaSF.value.phone, this.captchaSF.value.smsCode, this.captchaSF.value.sc);
|
||||
this.userSrv.loginByMobile(this.captchaSF.value.phone, this.captchaSF.value.smsCode, this.captchaSF.value.sc);
|
||||
} else {
|
||||
this.accountSF.validator({ emitError: true });
|
||||
console.log(this.accountSF.value);
|
||||
|
||||
if (!this.accountSF.valid) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user