Browse Source

[完善]完善下载功能

master
邵佳豪 5 years ago
parent
commit
4ad657a59d
  1. 2
      src/app/ui/all-file/all-file.component.ts

2
src/app/ui/all-file/all-file.component.ts

@ -816,7 +816,7 @@ export class AllFileComponent {
config.duration = 3000
this.snackBar.open('文件夹不支持下载','确定',config)
}else{
this.http.get('/api/ObjectMetadata/drives/allFiles/' + this.selectDownloadFile.key).subscribe(data=>{
this.http.get('/api/ObjectMetadata/drives/' + this.selectDownloadFile.key).subscribe(data=>{
console.log(123,data)
this.download = data
this.downloadFile.download(this.download)

Loading…
Cancel
Save