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 = {
id: fileId,
newParentId: targetParentId,
parentId: parentId,
parentId,
parentIds: parentIds,
type,
toType,
}
try {
const res = await moveDocCenterAPI(params)
@ -128,6 +137,8 @@ export default {
this.selectedFolder.id,
file.parentId,
file.parentIds,
file.type,
this.selectedFolder.type,
),
)