fix: 【数据导出中心】全部下载失效

This commit is contained in:
taojinlong
2024-12-11 17:16:22 +08:00
parent 709c4823e1
commit 29e2a8a160

View File

@@ -243,12 +243,12 @@ const callbackExportSuc = () => {
const downLoadAll = () => {
if (multipleSelection.value.length === 0) {
tableData.value.forEach(item => {
window.open(PATH_URL + '/exportCenter/download/' + item.id, openType)
window.open(PATH_URL + '/exportCenter/download/' + item.id)
})
return
}
multipleSelection.value.map(ele => {
window.open(PATH_URL + '/exportCenter/download/' + ele.id, openType)
window.open(PATH_URL + '/exportCenter/download/' + ele.id)
})
}
const showMsg = item => {