diff --git a/front/src/utils/request.js b/front/src/utils/request.js index 8c28c563..24446dc5 100644 --- a/front/src/utils/request.js +++ b/front/src/utils/request.js @@ -98,7 +98,10 @@ instance.interceptors.response.use( } if (response.headers.redirect) { window.location.replace(response.headers.redirect) - return + // setTimeout(() => { + location.reload() + // }, 1000) + return response } if (response.headers.redirect === '/#/login') { var keys = document.cookie.match(/[^ =;]+(?=\=)/g)