ng-class最好用的一种方法

ng-class={active:nav===1}:表示当且仅当nav=1时class为active.

posted @ 2018-11-29 15:50  谢哥在彼方  阅读(157)  评论(0编辑  收藏  举报