<tr v-for="Item in List" v-bind:class="{seeBlue:Item.int1 == 1,seeRed:Item.int1 == 2}">
...
</tr>
v-bind 条件绑定多个class属性
猜你喜欢
转载自blog.csdn.net/weixin_43222587/article/details/104613571
今日推荐
周排行