This commit is contained in:
BianLzhaoMin 2025-11-18 17:03:34 +08:00
parent d5adbd8a1c
commit 982b91ef34
1 changed files with 13 additions and 2 deletions

View File

@ -89,12 +89,21 @@ export default {
}, },
// //
async moveDocument(fileId, targetParentId, parentId, parentIds) { async moveDocument(
fileId,
targetParentId,
parentId,
parentIds,
type,
toType,
) {
const params = { const params = {
id: fileId, id: fileId,
newParentId: targetParentId, newParentId: targetParentId,
parentId: parentId, parentId,
parentIds: parentIds, parentIds: parentIds,
type,
toType,
} }
try { try {
const res = await moveDocCenterAPI(params) const res = await moveDocCenterAPI(params)
@ -128,6 +137,8 @@ export default {
this.selectedFolder.id, this.selectedFolder.id,
file.parentId, file.parentId,
file.parentIds, file.parentIds,
file.type,
this.selectedFolder.type,
), ),
) )