fix
This commit is contained in:
@@ -85,7 +85,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
|
||||
|
||||
Reference in New Issue
Block a user