增加注册类型判断

This commit is contained in:
TOP糯米 2023-04-03 13:50:10 +08:00
parent 0b0dffc89d
commit b4379a5845
1 changed files with 4 additions and 0 deletions

View File

@ -254,6 +254,10 @@ export default {
this.$utils.toast("请先阅读并同意《服务协议》《隐私政策》");
return;
}
if (!this.currentRegisterType.id) {
this.$utils.toast("请选择注册类型");
return;
}
this.$models.user
.register(
{