diff --git a/ui/src/views/application/index.vue b/ui/src/views/application/index.vue index d1644ba9..19532d8c 100644 --- a/ui/src/views/application/index.vue +++ b/ui/src/views/application/index.vue @@ -336,7 +336,11 @@ const CopyApplicationDialogRef = ref() const MoveToDialogRef = ref() function openMoveToDialog(data: any) { - MoveToDialogRef.value?.open(data) + const obj = { + id: data.id, + folder_id: data.folder + } + MoveToDialogRef.value?.open(obj) } function refreshApplicationList(row: any) { const index = applicationList.value.findIndex((v) => v.id === row.id) diff --git a/ui/src/views/knowledge/component/KnowledgeListContainer.vue b/ui/src/views/knowledge/component/KnowledgeListContainer.vue index bacdec43..8e190f05 100644 --- a/ui/src/views/knowledge/component/KnowledgeListContainer.vue +++ b/ui/src/views/knowledge/component/KnowledgeListContainer.vue @@ -385,7 +385,12 @@ const paginationConfig = reactive({ const MoveToDialogRef = ref() function openMoveToDialog(data: any) { - MoveToDialogRef.value?.open(data) + // 仅2个参数就行 + const obj = { + id: data.id, + folder_id: data.folder + } + MoveToDialogRef.value?.open(obj) } function refreshKnowledgeList(row: any) { diff --git a/ui/src/views/tool/component/ToolListContainer.vue b/ui/src/views/tool/component/ToolListContainer.vue index 15ec4d9c..d09a2102 100644 --- a/ui/src/views/tool/component/ToolListContainer.vue +++ b/ui/src/views/tool/component/ToolListContainer.vue @@ -370,7 +370,11 @@ const ToolDrawertitle = ref('') const MoveToDialogRef = ref() function openMoveToDialog(data: any) { - MoveToDialogRef.value?.open(data) + const obj = { + id: data.id, + folder_id: data.folder + } + MoveToDialogRef.value?.open(obj) } function refreshToolList(row: any) {