提交 181e3928 编写于 作者: guangjun.yang's avatar guangjun.yang

从url上获取token

上级 e36cf1da
...@@ -327,6 +327,7 @@ export default { ...@@ -327,6 +327,7 @@ export default {
}, },
created() { created() {
if (process.client) { if (process.client) {
this.token = (this.$route && this.$route.query && this.$route.query.token) || this.token;
this.projectId = (this.$route && this.$route.query && this.$route.query.projectId) || 374; this.projectId = (this.$route && this.$route.query && this.$route.query.projectId) || 374;
this.queryGDParams.projectId = this.projectId; this.queryGDParams.projectId = this.projectId;
this.CNTParams.projectId = this.projectId; this.CNTParams.projectId = this.projectId;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册