增加注册类型判断
This commit is contained in:
parent
0b0dffc89d
commit
b4379a5845
|
@ -254,6 +254,10 @@ export default {
|
||||||
this.$utils.toast("请先阅读并同意《服务协议》《隐私政策》");
|
this.$utils.toast("请先阅读并同意《服务协议》《隐私政策》");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!this.currentRegisterType.id) {
|
||||||
|
this.$utils.toast("请选择注册类型");
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.$models.user
|
this.$models.user
|
||||||
.register(
|
.register(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue