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:
2025-10-17 11:11:48 +08:00
parent 50628816e3
commit de3d196e11
12 changed files with 519 additions and 285 deletions

View File

@@ -157,7 +157,21 @@ function KnowledgeBaseSetting() {
return (
<MainContainer>
{/* 面包屑导航 */}
<KnowledgeBreadcrumbs knowledge={knowledge} />
<KnowledgeBreadcrumbs
kbItems={[
{
label: '知识库',
path: '/knowledge'
},
{
label: knowledge?.name || '知识库详情',
path: `/knowledge/${id}`
},
{
label: '设置'
}
]}
/>
<Box sx={{ mb: 3 }}>
<Typography variant="h4" gutterBottom>