禁止表单提交的方法

<input type="button" @click="register" name="button" id="button" value="提交"> 
<form  method="post" action=""  onsubmit="return false;">

猜你喜欢

转载自www.cnblogs.com/wuxiaoshi/p/11755991.html