|
|
@@ -41,7 +41,7 @@ axios.interceptors.response.use(function (response) {
|
|
|
// 对响应错误做点什么
|
|
|
if (error.request.status == 403) {
|
|
|
// window.location.hash = "/login";
|
|
|
- // window.location.hash = "/";
|
|
|
+ window.location.hash = "/";
|
|
|
}
|
|
|
// console.log(Object.getOwnPropertyNames(error))
|
|
|
// console.log(error.request,error.message)
|