bug fixed

This commit is contained in:
Park Byung Eun 2022-08-15 06:44:26 +00:00
parent 4860a698a5
commit 02db4777a2
2 changed files with 6 additions and 3 deletions

View File

@ -86,8 +86,10 @@
<mat-form-field> <mat-form-field>
<mat-label>환전 비밀번호</mat-label> <mat-label>환전 비밀번호</mat-label>
<input matInput [formControlName]="'exchangePw'" /> <input matInput [formControlName]="'exchangePassword'" />
<mat-error *ngIf="composeForm.get('exchangePw')?.hasError('required')"> <mat-error
*ngIf="composeForm.get('exchangePassword')?.hasError('required')"
>
환전 비밀번호 필수 입력입니다. 환전 비밀번호 필수 입력입니다.
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>

View File

@ -76,7 +76,7 @@ export class RegistComposeComponent implements OnInit {
siteId: ['', [Validators.required]], siteId: ['', [Validators.required]],
username: ['', [Validators.required]], username: ['', [Validators.required]],
password: ['beteran', [Validators.required]], password: ['beteran', [Validators.required]],
exchangePw: ['', [Validators.required]], exchangePassword: ['beteran', [Validators.required]],
nickname: ['', [Validators.required]], nickname: ['', [Validators.required]],
calculateType: ['', [Validators.required]], calculateType: ['', [Validators.required]],
mobilePhoneNumber: ['', [Validators.required]], mobilePhoneNumber: ['', [Validators.required]],
@ -155,6 +155,7 @@ export class RegistComposeComponent implements OnInit {
bank_account.setBankId(bankId); bank_account.setBankId(bankId);
bank_account.setName(accountHolder); bank_account.setName(accountHolder);
bank_account.setAccountNumber(accountNumber); bank_account.setAccountNumber(accountNumber);
bank_account.setExchangePassword(exchangePassword);
const member = new CreateMemberRequest(); const member = new CreateMemberRequest();
const site = new Site(); const site = new Site();