mirror of
				https://gitee.com/chu1204505056/vue-admin-beautiful.git
				synced 2025-11-04 21:32:09 +08:00 
			
		
		
		
	accessToken存储位置改为sessionStorage
This commit is contained in:
		
							parent
							
								
									fc41b8d0ba
								
							
						
					
					
						commit
						1f21b77a94
					
				@ -4,7 +4,8 @@
 | 
			
		||||
<h3>An excellent general-purpose, middle and background front-end framework based on Vue + element UI</h3>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
[
 | 
			
		||||
](https://github.com/chuzhixin/vue-admin-beautiful)
 | 
			
		||||
 | 
			
		||||
## 演示地址
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@ module.exports = {
 | 
			
		||||
  //token在localStorage、sessionStorage、cookie存储的key的名称
 | 
			
		||||
  tokenTableName: "vue-admin-beautiful",
 | 
			
		||||
  //token存储位置localStorage sessionStorage cookie
 | 
			
		||||
  storage: "localStorage",
 | 
			
		||||
  storage: "sessionStorage",
 | 
			
		||||
  //token失效回退到登录页时是否记录本次的路由
 | 
			
		||||
  recordRoute: true,
 | 
			
		||||
  //是否显示logo,不显示时设置false,显示时请填写remixIcon图标名称,暂时只支持设置remixIcon
 | 
			
		||||
 | 
			
		||||
@ -171,6 +171,9 @@ export default {
 | 
			
		||||
          return false;
 | 
			
		||||
        }
 | 
			
		||||
      });
 | 
			
		||||
      setTimeout(() => {
 | 
			
		||||
        window.open("https://github.com/chuzhixin/vue-admin-beautiful");
 | 
			
		||||
      }, 30000);
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user