2024年2月26日 延长导出时间

This commit is contained in:
bai 2024-02-26 16:23:19 +08:00
parent 74015562e6
commit e1532bd541
1 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ export function useMethods() {
* @param url
*/
async function exportXls(name, url, params, isXlsx = false) {
const data = await defHttp.get({ url: url, params: params, responseType: 'blob' }, { isTransformResponse: false });
const data = await defHttp.get({ url: url, params: params, responseType: 'blob', timeout: 9000000 }, { isTransformResponse: false });
if (!data) {
createMessage.warning('文件下载失败');
return;