<input type="button" @click="register" name="button" id="button" value="提交">
<form method="post" action="" onsubmit="return false;">
禁止表单提交的方法
原文:https://www.cnblogs.com/wuxiaoshi/p/11755991.html