mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 10:18:43 +08:00 
			
		
		
		
	fix: 设置 vite basePath 后,重新登录跳转路由错误
This commit is contained in:
		| @@ -229,7 +229,7 @@ const handleAuthorized = () => { | ||||
|         wsCache.clear() | ||||
|         removeToken() | ||||
|         isRelogin.show = false | ||||
|         window.location.href = '/' | ||||
|         window.location.href = import.meta.env.VITE_BASE_PATH | ||||
|       }) | ||||
|       .catch(() => { | ||||
|         isRelogin.show = false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 马光祖
					马光祖