我們只需要關注 [ngClass]="{'first': true, 'second': true, 'third': false}" 這一行 ... 動態控制類名; // changeClass(): void {; // if (this.
確定! 回上一頁