提交一下

This commit is contained in:
daihh
2022-10-18 17:46:08 +08:00
parent c86b3a4606
commit 3c0e745766

View File

@@ -36,5 +36,5 @@ export function resolveBlob(res, mimeType) {
aLink.setAttribute('download', fileName) // 设置下载文件名称 aLink.setAttribute('download', fileName) // 设置下载文件名称
document.body.appendChild(aLink) document.body.appendChild(aLink)
aLink.click() aLink.click()
document.body.appendChild(aLink) document.body.removeChild(aLink)
} }