@@ -260,9 +260,14 @@ export default { | |||||
}) | }) | ||||
return; | return; | ||||
} | } | ||||
this.$toast.loading({ | |||||
message: '正在注册...', | |||||
forbidClick: true, | |||||
}); | |||||
this.form.accountType = '1'; | this.form.accountType = '1'; | ||||
var that = this | var that = this | ||||
userRegister(this.form).then((res) => { | userRegister(this.form).then((res) => { | ||||
this.$toast.clear(); | |||||
this.$toast({ | this.$toast({ | ||||
icon: 'success', // 找到自己需要的图标 | icon: 'success', // 找到自己需要的图标 | ||||
message: '注册成功', | message: '注册成功', | ||||
@@ -244,10 +244,15 @@ export default { | |||||
}) | }) | ||||
return; | return; | ||||
} | } | ||||
this.$toast.loading({ | |||||
message: '正在注册...', | |||||
forbidClick: true, | |||||
}); | |||||
this.form.accountType = '2'; | this.form.accountType = '2'; | ||||
console.log(this.form); | console.log(this.form); | ||||
var that = this | var that = this | ||||
userRegister(this.form).then((res) => { | userRegister(this.form).then((res) => { | ||||
this.$toast.clear(); | |||||
this.$toast({ | this.$toast({ | ||||
icon: 'success', // 找到自己需要的图标 | icon: 'success', // 找到自己需要的图标 | ||||
message: '注册成功', | message: '注册成功', | ||||