mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	@@ -230,7 +230,8 @@ const handleAuthorized = () => {
 | 
				
			|||||||
      wsCache.clear()
 | 
					      wsCache.clear()
 | 
				
			||||||
      removeToken()
 | 
					      removeToken()
 | 
				
			||||||
      isRelogin.show = false
 | 
					      isRelogin.show = false
 | 
				
			||||||
      window.location.href = '/login?redirect=/sso?' + window.location.href.split('?')[1]
 | 
					      // 干掉token后再走一次路由让它过router.beforeEach的校验
 | 
				
			||||||
 | 
					      window.location.href = window.location.href
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  return Promise.reject(t('sys.api.timeoutMessage'))
 | 
					  return Promise.reject(t('sys.api.timeoutMessage'))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user