提交 16b4f23e 编写于 作者: 张磊's avatar 张磊

add my expert

上级 bc3d3b60
......@@ -38,14 +38,13 @@ export default {
};
},
created() {
const _this = this;
console.log('--this.$rocNative.isWeb', this.$rocNative.isWeb);
if (this.$rocNative.isWeb) {
var _this = this;
if (this.$rocNative.isWeb) {
cookies.set('conslToken', _this.token);
_this.getProjectList();
} else {
_this.getUserInfo();
}
cookies.set('conslToken', _this.token);
_this.getProjectList();
} else {
_this.getUserInfo();
}
},
mounted() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册