浏览代码

登记簿下载设置超时时间

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) => {