Browse Source

家装客资

zhujindu 1 year ago
parent
commit
71d844fe74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -9,7 +9,7 @@ import errorCode from '@/utils/errorCode';
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8';
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8';
 const service = axios.create({
 const service = axios.create({
   baseURL: process.env.VUE_APP_BASE_API,
   baseURL: process.env.VUE_APP_BASE_API,
-  timeout: 300000,
+  timeout: 0, //30000
   withCredentials: true,
   withCredentials: true,
 });
 });
 // request拦截器
 // request拦截器