|
@@ -163,7 +163,8 @@
|
|
|
logoImg: null,
|
|
logoImg: null,
|
|
|
projectName: null,
|
|
projectName: null,
|
|
|
token: '',
|
|
token: '',
|
|
|
- link: ''
|
|
|
|
|
|
|
+ link: '',
|
|
|
|
|
+
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -183,14 +184,14 @@
|
|
|
'$route.query.link': {
|
|
'$route.query.link': {
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
handler() {
|
|
handler() {
|
|
|
- // console.log(2222);
|
|
|
|
|
this.link = this.$route.query.link;
|
|
this.link = this.$route.query.link;
|
|
|
|
|
+ this.token = getToken();
|
|
|
if (this.link.includes('?')) {
|
|
if (this.link.includes('?')) {
|
|
|
- this.token = getToken();
|
|
|
|
|
this.link = this.$route.query.link + `&token=${this.token}`;
|
|
this.link = this.$route.query.link + `&token=${this.token}`;
|
|
|
} else {
|
|
} else {
|
|
|
- this.link = this.$route.query.link + `?token=${token}`;
|
|
|
|
|
|
|
+ this.link = this.$route.query.link + `?token=${this.token}`;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|