<h1 mat-dialog-title>{{data.title}}</h1>
<div mat-dialog-content *ngIf="data?.message">
  <p>{{data?.message}}</p>
</div>
<div mat-dialog-actions>
  <!-- <button mat-button (click)="confirm(false)" >{{'取消'}}</button>
  <button mat-button (click)="confirm(true)">{{'确认'}}</button> -->
  <button nz-button nzType="text" nzShape="round" (click)="confirm(false)" >取消</button>
  <button nz-button nzType="text" [nzDanger]="data?.danger" nzShape="round" (click)="confirm(true)">确认</button>
</div>