1234567
<form @submit.prevent> <div> <label for="nickname">昵称</label> <input type="text" id="nickname" placeholder="输入账户昵称" v-model="nickname" required> </div> <button type="submit" :disabled="regLoading" @click="submit">{{regText}}</button></form>
button
<button type="button">notSubmit</button>
<button type="submit">Submit</button>
<form @submit.prevent></form>