@@ -198,15 +196,17 @@ function getList() {
type: 'tool',
isShared: folder_id === 'share',
systemType: 'workspace',
- }).getToolList({
- folder_id: folder_id,
- tool_type: 'CUSTOM'
- }).then((res: any) => {
- toolList.value = res.data?.tools || res.data || []
- toolList.value = toolList.value?.filter((item: any) => item.is_active)
- searchData.value = res.data.tools || res.data
- searchData.value = searchData.value?.filter((item: any) => item.is_active)
})
+ .getToolList({
+ folder_id: folder_id,
+ tool_type: 'CUSTOM',
+ })
+ .then((res: any) => {
+ toolList.value = res.data?.tools || res.data || []
+ toolList.value = toolList.value?.filter((item: any) => item.is_active)
+ searchData.value = res.data.tools || res.data
+ searchData.value = searchData.value?.filter((item: any) => item.is_active)
+ })
}
defineExpose({ open })
diff --git a/ui/src/views/application/index.vue b/ui/src/views/application/index.vue
index 34a0a197f..c81c5f26e 100644
--- a/ui/src/views/application/index.vue
+++ b/ui/src/views/application/index.vue
@@ -2,15 +2,15 @@
{{ $t('views.application.title') }}
-
-
-
+
+
diff --git a/ui/src/views/knowledge/index.vue b/ui/src/views/knowledge/index.vue
index 971ca5270..6b831e215 100644
--- a/ui/src/views/knowledge/index.vue
+++ b/ui/src/views/knowledge/index.vue
@@ -2,17 +2,17 @@
{{ $t('views.knowledge.title') }}
-
-
-
+
+
diff --git a/ui/src/views/tool/index.vue b/ui/src/views/tool/index.vue
index 7264b19bf..77a82cbfb 100644
--- a/ui/src/views/tool/index.vue
+++ b/ui/src/views/tool/index.vue
@@ -2,17 +2,17 @@
{{ $t('views.tool.title') }}
-
-
-
+
+
@@ -40,7 +40,7 @@ import { SourceTypeEnum } from '@/enums/common'
import permissionMap from '@/permission'
import { useRoute } from 'vue-router'
import useStore from '@/stores'
-import bus from "@/bus"
+import bus from '@/bus'
const route = useRoute()
const { folder, tool } = useStore()