提交 36e9a1f3 编写于 作者: 张磊's avatar 张磊

get tokon at main'

上级 51aa7e2a
...@@ -35,8 +35,8 @@ export default { ...@@ -35,8 +35,8 @@ export default {
}; };
}, },
created() { created() {
const _this = this; // _this.getUserInfo();
_this.getUserInfo(); this.getProjectListMethod();
}, },
mounted() { mounted() {
this.$sendBuriedData && this.$sendBuriedData &&
...@@ -55,7 +55,6 @@ export default { ...@@ -55,7 +55,6 @@ export default {
this.$rocNative.getUserInfo().then((params) => { this.$rocNative.getUserInfo().then((params) => {
this.token = params.userToken; this.token = params.userToken;
cookies.set('conslToken', this.token); cookies.set('conslToken', this.token);
this.getProjectListMethod();
}); });
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册