在Vue中,則是加上v-on這個指令 <input type = "button" value="按鈕" v-on:事件名稱="事件發生時做什麼">. 舉例來說,我們想要讓使用者點擊按鈕時, ...
確定! 回上一頁