Vue - 动态绑定class

<div :class="{active:item.index==1}" >  </div>

posted @ 2020-02-03 15:29  武卡卡  阅读(122)  评论(0编辑  收藏  举报