From 7cd76444f142ed23bba0783989c16add619bf7ed Mon Sep 17 00:00:00 2001 From: zhaoying Date: Wed, 22 Apr 2026 14:38:18 +0800 Subject: [PATCH] fix(web): ui --- web/src/components/Knowledge/Knowledge.tsx | 4 ++-- .../views/ApplicationConfig/components/ToolList/ToolList.tsx | 2 +- .../components/VariableList/VariableList.tsx | 2 +- web/src/views/Skills/components/ToolList/ToolList.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/components/Knowledge/Knowledge.tsx b/web/src/components/Knowledge/Knowledge.tsx index 4721883c..b1c9b78f 100644 --- a/web/src/components/Knowledge/Knowledge.tsx +++ b/web/src/components/Knowledge/Knowledge.tsx @@ -161,11 +161,11 @@ const Knowledge: FC = ({ value = { knowledge_bases: [] }, onChan extra={ - + } headerType="borderless" diff --git a/web/src/views/ApplicationConfig/components/ToolList/ToolList.tsx b/web/src/views/ApplicationConfig/components/ToolList/ToolList.tsx index 0feb814b..b9981432 100644 --- a/web/src/views/ApplicationConfig/components/ToolList/ToolList.tsx +++ b/web/src/views/ApplicationConfig/components/ToolList/ToolList.tsx @@ -137,7 +137,7 @@ const ToolList: FC<{ value?: ToolOption[]; onChange?: (config: ToolOption[]) => + {t('application.addTool')} + } >
diff --git a/web/src/views/ApplicationConfig/components/VariableList/VariableList.tsx b/web/src/views/ApplicationConfig/components/VariableList/VariableList.tsx index 9f7f71f5..432d0e3d 100644 --- a/web/src/views/ApplicationConfig/components/VariableList/VariableList.tsx +++ b/web/src/views/ApplicationConfig/components/VariableList/VariableList.tsx @@ -60,7 +60,7 @@ interface VariableListProps { extra={ + } > {toolList.length === 0