2017-10-21 121 views

回答

0

通過在打開對話框聲明一個固定的寬度固定這一點。

 let dialogRef = this.dialog.open(ModalComponent, { 
      width: '250px' 
     });