This commit is contained in:
Taric Xin
2022-01-10 19:29:12 +08:00
parent ca12cd2f08
commit 5e445b7619
3 changed files with 1 additions and 11 deletions

View File

@ -38,7 +38,6 @@
</div>
</div>
</ng-container>
<!-- <app-captcha #dun [phone]="this.formGroup1.value.phone" (done)="captchaDone($event)"></app-captcha> -->
<ng-container *ngIf="step === 1">
<div nz-row>

View File

@ -13,7 +13,6 @@ import { EAUserService } from 'src/app/shared/services/business/user.service';
export class UserRetrievePasswordComponent implements OnInit, AfterViewInit {
step = 0;
count = 0;
interval$: any;
formGroup1!: FormGroup;
formGroup2!: FormGroup;
confirmPasswordValidator!: ValidatorFn;
@ -181,14 +180,6 @@ export class UserRetrievePasswordComponent implements OnInit, AfterViewInit {
this.cdr.detectChanges();
});
}
/* 网易盾验证通过 */
captchaDone(validate: any) {
this.codeCountDown();
}
refreshPage() {
window.location.reload();
}
validateConfirmPassword(): void {
setTimeout(() => this.formGroup2.controls.passWordTo.updateValueAndValidity());