fix: download current dir on file listing
parent
7955e0720b
commit
488d98045e
|
@ -588,9 +588,13 @@ export default {
|
|||
|
||||
let files = []
|
||||
|
||||
if (this.selectedCount > 0) {
|
||||
for (let i of this.selected) {
|
||||
files.push(this.req.items[i].url)
|
||||
}
|
||||
} else {
|
||||
files.push(this.$route.path)
|
||||
}
|
||||
|
||||
api.download(format, ...files)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue