| | |
| | | }, |
| | | async onSuccess() { |
| | | this.show = false; |
| | | this.registerApi(); |
| | | // AxiosuserCenter.invitationCode({ |
| | | // email: this.form.email, |
| | | // verificationCode: this.form.code, |
| | | // code: this.form.usercode, |
| | | // }).then((res) => { |
| | | // if (res.code == 0) { |
| | | // this.registerApi(); |
| | | // } else { |
| | | // this.$toast(this.$t(res.msg)); |
| | | // } |
| | | // }); |
| | | // this.registerApi(); |
| | | AxiosuserCenter.invitationCode({ |
| | | email: this.form.email, |
| | | verificationCode: this.form.code, |
| | | code: this.form.usercode, |
| | | }).then((res) => { |
| | | if (res.code == 0) { |
| | | this.registerApi(); |
| | | } else { |
| | | this.$toast(this.$t(res.msg)); |
| | | } |
| | | }); |
| | | }, |
| | | onFail() { |
| | | this.msg = ""; |