We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61b3a0 commit c95db6bCopy full SHA for c95db6b
README.md
@@ -112,4 +112,20 @@ var vm = new Vue({
112
}
113
})
114
```
115
-[插值效果](https://dk-lan.github.io/vue-erp/dist/demo/%E6%A8%A1%E7%89%88%E8%AF%AD%E6%B3%95/%E6%8F%92%E5%80%BC-%E6%96%87%E6%9C%AC.html)
+[插值效果](https://dk-lan.github.io/vue-erp/dist/demo/%E6%A8%A1%E7%89%88%E8%AF%AD%E6%B3%95/%E6%8F%92%E5%80%BC-%E6%96%87%E6%9C%AC.html)
116
+
117
+## 缩写
118
+### v-bind 缩写
119
+``` html
120
+ <!--完整写法-->
121
+ <img v-bind:src="'../imgs/red.jpg'" alt="" />
122
+ <!--缩写-->
123
+ <img :src="src" alt="" />
124
+```
125
+### v-on 缩写
126
127
+ <!--完整语法-->
128
+ <button v-on:click="greet">Greet</button>
129
+ <!--缩写语法-->
130
+ <button @click="greet">Greet</button>
131
dist/demo/模版语法/插值-文本.html renamed to dist/demo/模版语法/插值.html
0 commit comments