现在有三个按钮,当我点击一个的时候,另外两个的disabled要变为不可用,按钮是下面这些
<button nz-button nzType="primary" [disabled]="!validateForm.valid " (click)="getBtnType(1)">保存&关闭</button> <button nz-button nzType="primary" [disabled]="!validateForm.valid " (click)="getBtnType(2)">保存&继续</button> <button nz-button (click)="resetForm($event)">重置</button>
写的有点晕了...
扬帆大鱼
相关分类