Browse Source

feat(组件): 设置超时60秒

tangning 2 years ago
parent
commit
80db700c37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/http/axios/index.ts

+ 1 - 1
src/utils/http/axios/index.ts

@@ -202,7 +202,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
         // authentication schemes,e.g: Bearer
         // authentication schemes,e.g: Bearer
         // authenticationScheme: 'Bearer',
         // authenticationScheme: 'Bearer',
         authenticationScheme: '',
         authenticationScheme: '',
-        timeout: 10 * 1000,
+        timeout: 60 * 1000,
         // 基础接口地址
         // 基础接口地址
         // baseURL: globSetting.apiUrl,
         // baseURL: globSetting.apiUrl,