This commit is contained in:
parent
d5adbd8a1c
commit
982b91ef34
|
|
@ -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,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue