forked from github/dataease
Merge pull request #12386 from dataease/pr@dev-v2@fixexport
fix: 批量下载 excel丢失
This commit is contained in:
commit
89b9cfb174
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user