We could do that by using the keyup event with the v-on directive, and the enter key modifier. <input type=”text” v-on:keyup.enter=”pressedEnter ...
確定! 回上一頁