dusenyao hace 3 años
padre
commit
a6406b0833
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -12,7 +12,7 @@ axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest';
 const service = axios.create({
   baseURL: process.env.VUE_APP_BASE_API,
   // withCredentials: true, // 跨域请求时发送 cookies
-  timeout: 10000
+  timeout: 30000
 });
 
 // 请求拦截器