We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 784024f + ce9c99a commit 9f73b47Copy full SHA for 9f73b47
app/modules/filemanager/transhandler.py
@@ -425,7 +425,7 @@ def __get_targetitem(_path: Path) -> FileItem:
425
# 复制文件到新目录
426
target_fileitem = target_oper.get_folder(target_file.parent)
427
if target_fileitem:
428
- if source_oper.move(fileitem, Path(target_fileitem.path), target_file.name):
+ if source_oper.copy(fileitem, Path(target_fileitem.path), target_file.name):
429
return target_oper.get_item(target_file), ""
430
else:
431
return None, f"【{target_storage}】{fileitem.path} 复制文件失败"
0 commit comments