@submit.native.prevent 阻止默认提交,添加在form标签上@keyup.native.enter 回车操作,添加在input标签上
@submit.native.prevent
form
@keyup.native.enter
input