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

@@ -236,7 +236,21 @@ function KnowledgeBaseTesting() {
<Container maxWidth="lg" sx={{ py: 4 }}>
{/* 面包屑导航 */}
<KnowledgeBreadcrumbs knowledge={knowledgeDetail} />
<KnowledgeBreadcrumbs
kbItems={[
{
label: '知识库',
path: '/knowledge'
},
{
label: knowledgeDetail?.name || '知识库详情',
path: `/knowledge/${id}`
},
{
label: '测试'
}
]}
/>
<Box sx={{ mb: 3 }}>
<Typography variant="h4" gutterBottom>