fix(IOS-INFO-040): replace "添加知识点" with "上传资料" in toolbar

Knowledge items are AI-generated artifacts from source parsing, not
manually created entries. Route to ImportPage instead of AddKnowledgePage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-06-18 21:57:26 +08:00
parent bb9c9afb4d
commit 4b3ef77342

View File

@ -356,8 +356,8 @@ struct LibraryDetailPage: View {
}
Menu {
NavigationLink(value: Route.addKnowledge(knowledgeBaseId: knowledgeBaseId)) {
Label("添加知识点", image: "icon-plus")
NavigationLink(value: Route.libraryImport) {
Label("上传资料", image: "icon-plus")
}
Button {
showFolderManager = true