vue指令
1.v-bind绑定属性 简写“:”
2.绑定多个class用数组
class [] {}
style {} []
- v-on:xxx (v-on <==> @)
-
Document
<button @click="handleClick">点击</button>
<h4 :class="h4ClassArr[h4Index]">{{ name }}</h4>
来源:CSDN
作者:城南没有城北
链接:https://blog.csdn.net/weixin_42380289/article/details/104216043