Commit 3ed27968 by 陈玉桐

删除

parent a66ca86c
......@@ -21,7 +21,6 @@ function getUrlParam(name) {
}
router.beforeEach((to, from, next) => {
localStorage.removeItem('token');
if(!getUrlParam('token')){//地址不携带 token
//本地没有存储 token 去请求授权 ,有存储token直接跳转
if(!localStorage.getItem("token")){
......
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