From d0be683443a6bf609ef8c448ddbe3453f4cdef97 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 18 Jun 2025 17:10:37 +0800 Subject: [PATCH] refactor: update folder_id and scope in getList function --- ui/src/views/shared/tool-shared/SharedWorkspace.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/shared/tool-shared/SharedWorkspace.vue b/ui/src/views/shared/tool-shared/SharedWorkspace.vue index a88c703ce..c912407b5 100644 --- a/ui/src/views/shared/tool-shared/SharedWorkspace.vue +++ b/ui/src/views/shared/tool-shared/SharedWorkspace.vue @@ -189,8 +189,8 @@ function openCreateDialog(data?: any) { function getList() { const params = { - folder_id: currentFolder.value?.id || 'root', - scope: 'WORKSPACE', + folder_id: currentFolder.value?.id || 'default', + scope: 'SHARED', } ToolWorkspaceApi.getSharedWorkspaceToolPage(params, loading).then((res) => { toolList.value = [...res.data]