v -bind 簡寫為:,可以用在html標籤裡的屬性,讓屬性值等於你的data。 用個簡單的範例: ... 在input裡v-model一個空陣列checked,點擊後他就會抓value值放到checked裡
確定! 回上一頁