From 2430db290d73384775919a91e89a1a4b8a8a8937 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sun, 1 Feb 2026 20:46:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(knowledge):=20=E4=BF=AE=E5=A4=8D=E7=9F=A5?= =?UTF-8?q?=E8=AF=86=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将第二个统计项从"文件总数"更正为"知识类别" - 将第三个统计项从"标签总数"更正为"文件总数" - 在统计数据显示区域调整标签总数的位置 - 确保统计数据与标题正确对应 --- .../Home/KnowledgeManagementPage.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/KnowledgeManagement/Home/KnowledgeManagementPage.tsx b/frontend/src/pages/KnowledgeManagement/Home/KnowledgeManagementPage.tsx index 0d6fda5..c023198 100644 --- a/frontend/src/pages/KnowledgeManagement/Home/KnowledgeManagementPage.tsx +++ b/frontend/src/pages/KnowledgeManagement/Home/KnowledgeManagementPage.tsx @@ -37,11 +37,11 @@ const DEFAULT_STATISTICS: StatisticsItem[] = [ value: 0, }, { - title: "文件总数", + title: "知识类别", value: 0, }, { - title: "标签总数", + title: "文件总数", value: 0, }, { @@ -114,12 +114,12 @@ export default function KnowledgeManagementPage() { value: stats?.totalKnowledgeSets ?? 0, }, { - title: "文件总数", - value: stats?.totalFiles ?? 0, + title: "知识类别", + value: stats?.totalTags ?? 0, }, { - title: "标签总数", - value: stats?.totalTags ?? 0, + title: "文件总数", + value: stats?.totalFiles ?? 0, }, { title: "总大小",