|
|
|
@ -699,7 +699,7 @@ export class AllFileComponent {
|
|
|
|
|
prefix : element.key, |
|
|
|
|
recursive : true |
|
|
|
|
} |
|
|
|
|
this.http.delete(`/api/Objects/drives/allFiles`,{ |
|
|
|
|
this.http.delete(`/api/Objects/drives`,{ |
|
|
|
|
params:paramsdata |
|
|
|
|
}).subscribe(data=>{ |
|
|
|
|
arr.push("删除成功了") |
|
|
|
@ -716,7 +716,7 @@ export class AllFileComponent {
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
|
this.http.delete(`/api/Objects/drives/allFiles/${element.key}`).subscribe(data=>{ |
|
|
|
|
this.http.delete(`/api/Objects/drives/${element.key}`).subscribe(data=>{ |
|
|
|
|
arr.push("删除成功了") |
|
|
|
|
if (arr.length == this.selection.selected.length) { |
|
|
|
|
this.getALLFileList(this.selectedDataBank) |
|
|
|
|