Browse Source

超时时长

natasha 1 tháng trước cách đây
mục cha
commit
706f8a179a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -9,7 +9,7 @@ axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest';
 
 const service = axios.create({
   baseURL: process.env.VUE_APP_BASE_API,
-  timeout: 30000
+  timeout: 600000
 });
 
 // 请求拦截器