Skip to content

Commit 7f43523

Browse files
committed
修复文件管理无法批量删除目录
1 parent 3925292 commit 7f43523

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/application/logic/explorer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (self explorer) DeleteFileList(fileList []string) error {
118118
}
119119
deleteFileList = append(deleteFileList, self.rootPath+path)
120120
}
121-
cmd := fmt.Sprintf("cd %s && rm -rf \"%s\" \n", self.rootPath, strings.Join(deleteFileList, " "))
121+
cmd := fmt.Sprintf("cd %s && rm -rf \"%s\" \n", self.rootPath, strings.Join(deleteFileList, "\" \""))
122122
out, err := plugin.Command{}.Result(self.pluginName, cmd)
123123
if err != nil {
124124
return err

dpanel.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)