src/utils/request.js
@@ -17,7 +17,7 @@ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 timeout: 10000, timeout: 100000, }); // request拦截器 @@ -110,10 +110,7 @@ } ) .then(() => { isRelogin.show = false; store.dispatch("LogOut").then(() => { location.href = "/index"; }); }) .catch(() => { isRelogin.show = false;