fix: modify
							parent
							
								
									1566b0b463
								
							
						
					
					
						commit
						9c0c01a9ce
					
				| 
						 | 
				
			
			@ -17,8 +17,6 @@ router.beforeEach(async (to, from, next) => {
 | 
			
		|||
  if (isEmpty(history.state.current)) {
 | 
			
		||||
    assign(history.state, { current: from.fullPath })
 | 
			
		||||
  }
 | 
			
		||||
  console.log(to)
 | 
			
		||||
 | 
			
		||||
  if (getToken()) {
 | 
			
		||||
    // 判断用户是否处于登录状态
 | 
			
		||||
    if (to.path === '/login') {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue