Explorar el Código

登记簿下载设置超时时间

jingyuanchao hace 1 año
padre
commit
6c0ad5bbea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) => {