|
@@ -69,7 +69,7 @@
|
|
|
import Header from '@/components/Header';
|
|
|
import { LearnWebSI, getStaticContent } from '@/api/api';
|
|
|
import { getConfigInfor } from '@/utils/index';
|
|
|
-import { setToken } from '@/utils/auth';
|
|
|
+import { setToken, getToken } from '@/utils/auth';
|
|
|
export default {
|
|
|
// import引入的组件需要注入到对象中才能使用
|
|
|
components: {
|
|
@@ -104,6 +104,7 @@ export default {
|
|
|
}).then((res) => {
|
|
|
res.access_token = _this.AccessToken;
|
|
|
setToken(res);
|
|
|
+ console.log(getToken() ? JSON.parse(getToken()) : 'null');
|
|
|
console.log(res);
|
|
|
debugger;
|
|
|
this.showPage = true;
|