{data.map((item) => {
const modelInfo = modelMenus[item.id];
const hasModelInfo = modelInfo && modelInfo.menu.length > 1;
return (
-
+
e.stopPropagation()}>
-
-
+
+ e.stopPropagation()} className="rb:cursor-pointer rb:size-5.5 rb:bg-[url('@/assets/images/common/more.svg')] rb:hover:bg-[url('@/assets/images/common/more_hover.svg')]">
}
@@ -583,24 +587,23 @@ const KnowledgeBaseManagement: FC = () => {
{/*
{t('knowledgeBase.description')}
*/}
- {(item.description && item.description != '') ? item.description : t('knowledgeBase.noDescription')}
+ {(item.description && item.description != '') ? item.description : t('knowledgeBase.noDescription')}
-
- {item.descriptionItems?.map((description: Record
) => (
+
+ {item.descriptionItems?.map((description: Record) => (
-
{(description.label as string)}
-
{(description.children as string)}
+
{(description.label as string)}
+
{(description.children as string)}
- ))}
-
-
+ ))}
+
{hasModelInfo && (
e.stopPropagation()}>
{
)}
-
+
)})}
-
+
)}
diff --git a/web/src/views/Ontology/index.tsx b/web/src/views/Ontology/index.tsx
index cd599b97..7b98efea 100644
--- a/web/src/views/Ontology/index.tsx
+++ b/web/src/views/Ontology/index.tsx
@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 14:10:15
* @Last Modified by: ZhaoYing
- * @Last Modified time: 2026-03-25 13:38:59
+ * @Last Modified time: 2026-03-27 15:03:09
*/
import { type FC, useState, useRef } from 'react';
import type { MenuInfo } from 'rc-menu/lib/interface';
@@ -150,13 +150,13 @@ const Ontology: FC = () => {
items: [
{
key: 'edit',
- icon: e.stopPropagation()} className="rb:cursor-pointer rb:size-6 rb:bg-[url('@/assets/images/common/more.svg')] rb:hover:bg-[url('@/assets/images/common/more_hover.svg')]">
+ e.stopPropagation()} className="rb:cursor-pointer rb:size-5.5 rb:bg-[url('@/assets/images/common/more.svg')] rb:hover:bg-[url('@/assets/images/common/more_hover.svg')]">
}
diff --git a/web/src/views/Prompt/index.tsx b/web/src/views/Prompt/index.tsx
index 739a73f4..469b1e39 100644
--- a/web/src/views/Prompt/index.tsx
+++ b/web/src/views/Prompt/index.tsx
@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 17:44:15
* @Last Modified by: ZhaoYing
- * @Last Modified time: 2026-03-26 14:31:50
+ * @Last Modified time: 2026-03-27 15:14:58
*/
/**
* Prompt Editor Component
@@ -278,7 +278,7 @@ const Prompt: FC = () => {
className="rb:h-[calc(100vh-193px)] rb:bg-white! rb:border-none! rb:p-0! rb:text-[#212332] rb:leading-5"
onChange={(value) => form.setFieldValue('current_prompt', value)}
/>
- :