refactor(ui): 「知识库绑定」改名为「测试知识库绑定」

与新的「生产知识库绑定」(发布 源库→目标库)配对,避免两处同名分不清。
同步改分区标题、说明、错误文案与测试断言。
This commit is contained in:
姚章浩
2026-10-08 15:55:34 +08:00
parent 6440e3f679
commit 71f6311399
5 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import type { ProductionBindings } from './productionBindings'
import type { KnowledgeBaseOption } from './routingBindings'
// 「生产知识库绑定」:发布链路的 源库 → 目标库 映射。这里选的是发布要写入的
// 生产(目标)知识库,与上面的「知识库绑定」(测试端收件库)是两件事。
// 生产(目标)知识库,与上面的「测试知识库绑定」(测试端收件库)是两件事。
export function ProductionBindingsSection() {
const auth = useOptionalAuth()
const isAdmin = auth?.identity?.role === 'admin'