@submit.native.prevent 阻止默认提交,添加在form标签上
@keyup.native.enter 回车操作,添加在input标签上
vue prevent the default form submission, CR Action
Guess you like
Origin blog.csdn.net/qq_26642611/article/details/104427612
Recommended
Ranking