This commit is contained in:
Taric Xin
2022-01-21 11:28:50 +08:00
parent 7c821be050
commit eed0749612
2 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,5 @@
<div class="modal-footer">
<button nz-button type="button" (click)="close()">{{ isDisabled ? '关闭' : '取消' }}</button>
<button nz-button type="button" nzType="primary" (click)="sure()" *ngIf="!isDisabled"
[disabled]="!sf?.valid">确定</button>
<button nz-button type="button" nzType="primary" (click)="sure()" *ngIf="!isDisabled">确定</button>
</div>