File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ const search_type_change = () => {
354354
355355function getList() {
356356 const params = {
357- folder_id: currentFolder .value ?.id || ' root ' ,
357+ folder_id: currentFolder .value ?.id || localStorage . getItem ( ' workspace_id ' ) ,
358358 [search_type .value ]: search_form .value [search_type .value ],
359359 }
360360 KnowledgeApi .getKnowledgeList (paginationConfig , params , loading ).then ((res ) => {
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ function openCreateDialog(data?: any) {
253253
254254function getList() {
255255 const params = {
256- folder_id: currentFolder .value ?.id || ' root ' ,
256+ folder_id: currentFolder .value ?.id || localStorage . getItem ( ' workspace_id ' ) ,
257257 scope: ' WORKSPACE' ,
258258 }
259259 ToolApi .getToolList (paginationConfig , params , loading ).then ((res ) => {
You can’t perform that action at this time.
0 commit comments