소스 검색

设置pdf文件下载超时时间为30分钟

jingyuanchao 1 년 전
부모
커밋
7a7229bd65
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -147,6 +147,7 @@ export function exportFile(
       data: request,
       responseType: "blob",
       headers,
+      time: 60000,
       onDownloadProgress: onDownloadProgressCallBack,
     })
     .then((response) => {