소스 검색

登记簿下载设置超时时间

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

+ 1 - 1
src/utils/request.js

@@ -146,8 +146,8 @@ export function exportFile(
       method,
       data: request,
       responseType: "blob",
+      timeout:1000*60*30,
       headers,
-      time: 60000,
       onDownloadProgress: onDownloadProgressCallBack,
     })
     .then((response) => {