Merge pull request #12386 from dataease/pr@dev-v2@fixexport

fix: 批量下载 excel丢失
This commit is contained in:
taojinlong
2024-09-23 17:43:25 +08:00
committed by GitHub

View File

@@ -252,6 +252,7 @@ const downLoadAll = () => {
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
URL.revokeObjectURL(link.href)
})
.finally(() => {
exportDatasetLoading.value = false
@@ -298,6 +299,7 @@ const downloadClick = item => {
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
URL.revokeObjectURL(link.href)
})
.finally(() => {
exportDatasetLoading.value = false