Browse Source

Merge branch 'master' of http://47.110.251.215:3000/web/saber

gangyj 2 years ago
parent
commit
7e1cca02aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/router/axios.js

+ 2 - 2
src/router/axios.js

@@ -17,7 +17,7 @@ import NProgress from 'nprogress';
 import 'nprogress/nprogress.css';
 
 //默认超时时间
-axios.defaults.timeout = 60000;
+axios.defaults.timeout = 180000;
 //返回其他状态码
 axios.defaults.validateStatus = function(status) {
     return status >= 200 && status <= 500;
@@ -77,4 +77,4 @@ axios.interceptors.response.use(res => {
   return Promise.reject(new Error(error));
 });
 
-export default axios;
+export default axios;