From 7ef8e03751cd4458cfa0dc703634c49ec1099692 Mon Sep 17 00:00:00 2001 From: jiahao6635 Date: Fri, 7 Aug 2026 16:01:28 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20=E7=99=BB=E9=99=86=20typo=20to=20?= =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the standard term 登录 in knowledge-graph docs and a frontend comment. No behavior change. --- docs/KnowledgeGraph.md | 2 +- docs/wiki/核心功能/知识图谱.md | 2 +- frontend/src/utils/tenantSwitch.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/KnowledgeGraph.md b/docs/KnowledgeGraph.md index f1e7c6e7..1eb9e194 100644 --- a/docs/KnowledgeGraph.md +++ b/docs/KnowledgeGraph.md @@ -23,6 +23,6 @@ docker-compose --profile neo4j up -d ## 查看图谱 -登陆 `http://localhost:7474`,执行 `match (n) return (n)` 即可查看生成的知识图谱。 +登录 `http://localhost:7474`,执行 `match (n) return (n)` 即可查看生成的知识图谱。 在对话时,系统会自动查询知识图谱,并获取相关知识。 diff --git a/docs/wiki/核心功能/知识图谱.md b/docs/wiki/核心功能/知识图谱.md index 299a7a38..5c8bea6b 100644 --- a/docs/wiki/核心功能/知识图谱.md +++ b/docs/wiki/核心功能/知识图谱.md @@ -32,7 +32,7 @@ docker-compose --profile neo4j up -d ## 查看图谱 -登陆 `http://localhost:7474`,执行 `match (n) return (n)` 即可查看生成的知识图谱。 +登录 `http://localhost:7474`,执行 `match (n) return (n)` 即可查看生成的知识图谱。 在对话时,系统会自动查询知识图谱,并获取相关知识。 diff --git a/frontend/src/utils/tenantSwitch.ts b/frontend/src/utils/tenantSwitch.ts index 39d5804c..b5dba02b 100644 --- a/frontend/src/utils/tenantSwitch.ts +++ b/frontend/src/utils/tenantSwitch.ts @@ -12,7 +12,7 @@ const SAFE_FALLBACK_PATH = '/platform/knowledge-bases' /** * Return the URL to navigate to after a tenant switch. 目前始终返回 KB 列表 - * 作为登陆页,保留函数签名是为了未来需要按路由做特殊处理时留个口子。 + * 作为登录页,保留函数签名是为了未来需要按路由做特殊处理时留个口子。 */ export function tenantSwitchTargetPath(_currentPath: string): string { return SAFE_FALLBACK_PATH