diff --git a/src/utils/file.js b/src/utils/file.js index 08cf671..09ef907 100644 --- a/src/utils/file.js +++ b/src/utils/file.js @@ -87,7 +87,7 @@ export const zipFile = async (fileList, zipName) => { result.forEach(res => { zip.file(res.fileName, res.data) }) - const content = await zip.generateAsync({ type: 'blob' }) + const content = await zip.generateAsync({ type: 'blob', compression: 'DEFLATE' }) return new File([content], zipName, { type: content.type }) }