Can ngClass use ternary operator in Angular 2?

前端 未结 3 1119
慢半拍i
慢半拍i 2021-02-02 05:31

In Angular 1, the code below works well.

But when I try to do simi

3条回答
提交回复
热议问题