1,插值表达式
v-cloak v-html v-bind(:) v-on(@) v-model v-for v-if v-show
2,事件修饰符
.stop .prevent .capture .self .once
3,
在 VM实例中 调用data的变量必须添加 this.变量名
4,
在 v-for 要使用key属性(只接受 sring/member)
5,
在 vue中绑定样式两种方式 v-bind:class v-bind:style
1,插值表达式
v-cloak v-html v-bind(:) v-on(@) v-model v-for v-if v-show
2,事件修饰符
.stop .prevent .capture .self .once
3,
在 VM实例中 调用data的变量必须添加 this.变量名
4,
在 v-for 要使用key属性(只接受 sring/member)
5,
在 vue中绑定样式两种方式 v-bind:class v-bind:style