v-bind 響應更新Html特性指令
v-on 監聽指令
v-model 雙向綁定指令
v-model 本質上是 :value和 v-on 的結合體,就算綁定它的value,通過v-on觸發,從而更新數據。
<input type="text" v-model="currentValue"/> 相當於 <input type="text" v-bind:value="currentValue" v-on:input="function(event){currentValue=event.target.value}"/>
[參考]https://www.jianshu.com/p/cf91da3c4a77
[參考]https://www.jianshu.com/p/08bf29fef61d
v-if 條件判斷指令
v-for 遍歷指令