[Solution found!] Angular版本2,...,9提供了几种有条件地添加类的方法: 第一类[class.my-class]="step === 'step1'" 第二类[ngClass]="{'my-class': step ...
確定! 回上一頁