|
@@ -96,6 +96,7 @@ export default {
|
|
// 生命周期 - 创建完成(可以访问当前this实例)
|
|
// 生命周期 - 创建完成(可以访问当前this实例)
|
|
async created() {
|
|
async created() {
|
|
const _this = this;
|
|
const _this = this;
|
|
|
|
+ console.log(this.AccessToken);
|
|
if (this.AccessToken) {
|
|
if (this.AccessToken) {
|
|
const Mname = 'login_control-ParseAccessToken';
|
|
const Mname = 'login_control-ParseAccessToken';
|
|
await getStaticContent(Mname, {
|
|
await getStaticContent(Mname, {
|
|
@@ -103,11 +104,14 @@ export default {
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
res.access_token = _this.AccessToken;
|
|
res.access_token = _this.AccessToken;
|
|
setToken(res);
|
|
setToken(res);
|
|
|
|
+ console.log(res);
|
|
|
|
+ debugger;
|
|
this.showPage = true;
|
|
this.showPage = true;
|
|
});
|
|
});
|
|
await getConfigInfor();
|
|
await getConfigInfor();
|
|
}
|
|
}
|
|
this.showPage = true;
|
|
this.showPage = true;
|
|
|
|
+ debugger;
|
|
this.getdata();
|
|
this.getdata();
|
|
},
|
|
},
|
|
// 生命周期 - 挂载完成(可以访问DOM元素)
|
|
// 生命周期 - 挂载完成(可以访问DOM元素)
|