angular 中的[ngClass]、[ngStyle],效果: ... </li> </ul> <div [ngStyle]="{'background-color':'green'}">你好ngStyle</div> <div ...
確定! 回上一頁