<form v-on:submit.prevent="onSubmit"></form>. <!-- 修饰符可以串联--> ... 只有在keyCode 是13 时调用vm.submit() --> ... <input v-on:keyup.enter="submit">.
確定! 回上一頁