From 931f8b6c937f0ccbe656c25bfe6aaa81965a7322 Mon Sep 17 00:00:00 2001 From: gengxin Date: Tue, 11 Mar 2025 18:09:45 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E6=95=B0=E6=8D=AE=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/zipdownload.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utils/zipdownload.js b/src/utils/zipdownload.js index 8bcb0e7b..97e5661f 100644 --- a/src/utils/zipdownload.js +++ b/src/utils/zipdownload.js @@ -46,7 +46,11 @@ export function downLoadZipManage(str, filename,fun) { return; } resolveBlob(res, mimeMap.xlsx,filename) - if(fun) fun(res.headers.ecode) + if(fun) { + console.log("有数据 执行 fun",fun) + fun(res.headers.ecode) + } + fun(res.headers.ecode) }) } /**