v -bind 這個指令可以動態幫HTML 標籤綁上ID,直接將資料(data) 反映到HTML ... 我們就用剛才的 v-for 與 index 的例子,結合 v-if 的觀念來做說明。
確定! 回上一頁