禁止表单提交的方法

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