手机登录

This commit is contained in:
Taric Xin
2021-12-07 19:53:27 +08:00
parent 01258211b3
commit 4ad7282e51
2 changed files with 6 additions and 9 deletions

View File

@ -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;
}