|
@@ -114,22 +114,18 @@ export default {
|
|
try {
|
|
try {
|
|
this.submitting = true;
|
|
this.submitting = true;
|
|
const valid = await this.$refs.observer.validate();
|
|
const valid = await this.$refs.observer.validate();
|
|
- console.log(
|
|
|
|
- '🚀 ~ file: register.vue ~ line 117 ~ submit ~ valid',
|
|
|
|
- valid,
|
|
|
|
- );
|
|
|
|
if (valid) {
|
|
if (valid) {
|
|
this.$tongji.trackEvent('活动', '注册', '', 0);
|
|
this.$tongji.trackEvent('活动', '注册', '', 0);
|
|
const res = await registerForInvite(this, this.form);
|
|
const res = await registerForInvite(this, this.form);
|
|
this.$toast.success(res.msg);
|
|
this.$toast.success(res.msg);
|
|
- this.toDownload();
|
|
|
|
|
|
+ this.openSzxApp();
|
|
}
|
|
}
|
|
} finally {
|
|
} finally {
|
|
this.submitting = false;
|
|
this.submitting = false;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- toDownload() {
|
|
|
|
- window.open('https://www.androidscloud.com', '_self');
|
|
|
|
|
|
+ openSzxApp() {
|
|
|
|
+ this.$callSzx.open({ param: {}, path: '' });
|
|
},
|
|
},
|
|
async sendSmsCode() {
|
|
async sendSmsCode() {
|
|
try {
|
|
try {
|