소스 검색

fix:vue 请求出现问题测试

ly 11 달 전
부모
커밋
9693d3046e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -246,7 +246,7 @@ export function download(url, params, filename, config) {
       ],
       headers: { "Content-Type": "application/x-www-form-urlencoded" },
       responseType: "blob",
-      timeout: 1000000,
+      timeout: 4000000,
       ...config,
     })
     .then(async (data) => {