</mat-slide-toggle> myFlagForSlideToggle 已按预期更新。 但是,当我使用 <mat-button-toggle> 时,值不会更新。我什至必须添加 ngDefaultControl 才能使此示例正常 ...
確定! 回上一頁