feat(breadcrumbs): implement reusable breadcrumbs component and update usage
refactor(chunk): enhance chunk list with bulk operations and improved UI
This commit is contained in:
@@ -275,7 +275,18 @@ function KnowledgeBaseDetail() {
|
||||
return (
|
||||
<Box sx={{ p: 3 }}>
|
||||
{/* 面包屑导航 */}
|
||||
<KnowledgeBreadcrumbs knowledge={knowledgeBase} />
|
||||
<KnowledgeBreadcrumbs
|
||||
kbItems={[
|
||||
{
|
||||
label: '知识库',
|
||||
path: '/knowledge'
|
||||
},
|
||||
{
|
||||
label: knowledgeBase?.name || '知识库详情',
|
||||
path: `/knowledge/${id}`
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
{/* 知识库信息卡片 */}
|
||||
<KnowledgeInfoCard knowledgeBase={knowledgeBase} />
|
||||
|
||||
Reference in New Issue
Block a user