在這裡href 是參數,告知v-bind 指令將該元素的href 特性與表達式url 的值綁定。 另一個例子是v-on 指令,它用於監聽DOM 事件:. 1 <button v-on:click="doSomething"> ...
確定! 回上一頁