diff --git a/src/tool/https.js b/src/tool/https.js index 68f17570..2b4e73bf 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -86,7 +86,7 @@ axios.interceptors.response.use((res) =>{ }, function(error) { if(error?.response?.status === 401 && router.currentRoute._value.name != 'setIdentification'){//如果是记录浏览器页面就不跳转login - // router.replace('/login') + router.replace('/login') return Promise.reject() } let data_new = error?.response?.data