HotFix Invite redirect
This commit is contained in:
parent
56bcbc6be3
commit
71e64815ef
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@
|
||||||
UserService.getInviteCodeInfo(this.code).then((res) => {
|
UserService.getInviteCodeInfo(this.code).then((res) => {
|
||||||
if(res.data.data.usable) {
|
if(res.data.data.usable) {
|
||||||
this.errorMsg = "";
|
this.errorMsg = "";
|
||||||
|
this.$router.push({name: 'Register', query: {code: this.code}});
|
||||||
} else {
|
} else {
|
||||||
this.errorMsg = "Invite code not valide";
|
this.errorMsg = "Invite code not valide";
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue