shaogen1995 1 year ago
parent
commit
406f8add37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/http.ts

+ 1 - 1
src/utils/http.ts

@@ -29,7 +29,7 @@ const http = axios.create({
 
   // --------打包或线上环境接口需要加上api/
   baseURL: baseURL + "/api/",
-  timeout: 5000,
+  timeout: 20000,
 });
 
 let axajInd = 0;