File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,9 @@ const props = defineProps({
132132const emit = defineEmits ([' clickNodes' , ' onmousedown' ])
133133
134134const apiType = computed (() => {
135- if (route .path .includes (' resource-management' )) {
135+ if (route .path .includes (' shared' )) {
136+ return ' systemShare'
137+ } else if (route .path .includes (' resource-management' )) {
136138 return ' systemManage'
137139 } else {
138140 return ' workspace'
@@ -217,7 +219,7 @@ async function getToolList() {
217219 const res = await loadSharedApi ({
218220 type: ' tool' ,
219221 isShared: folder .currentFolder ?.id === ' share' ,
220- systemType: ' workspace ' ,
222+ systemType: apiType . value ,
221223 }).getToolList ({
222224 folder_id: folder .currentFolder ?.id || user .getWorkspaceId (),
223225 tool_type: activeName .value == ' DATA_SOURCE_TOOL' ? ' DATA_SOURCE' : ' CUSTOM' ,
You can’t perform that action at this time.
0 commit comments