@@ -84,7 +84,7 @@ request.interceptors.response.use(
if (data.code === 403) {
removeAuth()
- window.location.href = location.origin
+ window.location.href = location.origin + location.pathname
ElMessage.error('登录已过期,请重新登录')
}
throw new Error(msg)