禁止表单提交的方法

<input type="button" @click="register" name="button" id="button" value="提交"> 
<form  method="post" action=""  onsubmit="return false;">
posted @ 2019-10-28 22:22  巫小诗  阅读(993)  评论(0编辑  收藏  举报