edit
This commit is contained in:
@ -108,7 +108,7 @@ export class UserRetrievePasswordComponent implements OnInit, AfterViewInit {
|
||||
|
||||
submitForm2() {
|
||||
for (const i in this.formGroup2.controls) {
|
||||
if ( this.formGroup2.controls[i]) {
|
||||
if (this.formGroup2.controls[i]) {
|
||||
this.formGroup2.controls[i].markAsDirty();
|
||||
this.formGroup2.controls[i].updateValueAndValidity();
|
||||
}
|
||||
@ -145,8 +145,8 @@ export class UserRetrievePasswordComponent implements OnInit, AfterViewInit {
|
||||
return;
|
||||
}
|
||||
if (this.formGroup1.value.phone) {
|
||||
this.service.http
|
||||
.post(`${this.service.$getAccountSMVerificationCode}`, null, { phoneNumber: this.formGroup1.value.phone })
|
||||
this.service
|
||||
.request(`${this.service.$api_send_sms_by_mobile}`, { phoneNumber: this.formGroup1.value.phone })
|
||||
.subscribe((res: any) => {
|
||||
// console.log(res, 'res');
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user