Browse Source

登记簿下载设置超时时间

jingyuanchao 1 năm trước cách đây
mục cha
commit
6c0ad5bbea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) => {