Commit 1f21b77a by 初志鑫

accessToken存储位置改为sessionStorage

parent fc41b8d0
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<h3>An excellent general-purpose, middle and background front-end framework based on Vue + element UI</h3> <h3>An excellent general-purpose, middle and background front-end framework based on Vue + element UI</h3>
</div> </div>
![](https://img.shields.io/github/stars/chuzhixin/vue-admin-beautiful?style=flat-square&label=Stars&logo=github) [![](https://img.shields.io/github/stars/chuzhixin/vue-admin-beautiful?style=flat-square&label=Stars&logo=github)
](https://github.com/chuzhixin/vue-admin-beautiful)
## 演示地址 ## 演示地址
......
...@@ -47,7 +47,7 @@ module.exports = { ...@@ -47,7 +47,7 @@ module.exports = {
//token在localStorage、sessionStorage、cookie存储的key的名称 //token在localStorage、sessionStorage、cookie存储的key的名称
tokenTableName: "vue-admin-beautiful", tokenTableName: "vue-admin-beautiful",
//token存储位置localStorage sessionStorage cookie //token存储位置localStorage sessionStorage cookie
storage: "localStorage", storage: "sessionStorage",
//token失效回退到登录页时是否记录本次的路由 //token失效回退到登录页时是否记录本次的路由
recordRoute: true, recordRoute: true,
//是否显示logo,不显示时设置false,显示时请填写remixIcon图标名称,暂时只支持设置remixIcon //是否显示logo,不显示时设置false,显示时请填写remixIcon图标名称,暂时只支持设置remixIcon
......
...@@ -171,6 +171,9 @@ export default { ...@@ -171,6 +171,9 @@ export default {
return false; return false;
} }
}); });
setTimeout(() => {
window.open("https://github.com/chuzhixin/vue-admin-beautiful");
}, 30000);
}, },
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment