diff --git a/frontend-web/src/components/workspace/workspace-nav-studio.tsx b/frontend-web/src/components/workspace/workspace-nav-studio.tsx index 4f199aeb..8567f7ce 100644 --- a/frontend-web/src/components/workspace/workspace-nav-studio.tsx +++ b/frontend-web/src/components/workspace/workspace-nav-studio.tsx @@ -91,14 +91,14 @@ export function WorkspaceNavStudio() { - {/* 新建笔记本 */} + {/* 新建空间 */} { setDialogOpen(true); setError(""); setName(""); }} > - 新建笔记本 + 新建空间 @@ -121,7 +121,7 @@ export function WorkspaceNavStudio() { ))} - {/* 所有笔记本 */} + {/* 所有空间 */} {notebooks.length > 0 && ( - ··· - 所有笔记本 + {/* ··· */} + 所有空间 @@ -144,7 +144,7 @@ export function WorkspaceNavStudio() { !creating && setDialogOpen(v)}> - 新建笔记本 + 新建空间
- 新建笔记本 + 新建空间 ); } @@ -146,7 +146,7 @@ export default function LightAppNoteListPage() { > - 新建笔记本 + 新建空间 ); }; diff --git a/frontend-web/src/pages/StudioNotebooksPage.tsx b/frontend-web/src/pages/StudioNotebooksPage.tsx index 507063ab..17d7cc22 100644 --- a/frontend-web/src/pages/StudioNotebooksPage.tsx +++ b/frontend-web/src/pages/StudioNotebooksPage.tsx @@ -186,7 +186,7 @@ export default function StudioNotebooksPage() { className="flex items-center gap-1.5 rounded-full bg-primary px-5 py-2.5 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90" > - 新建笔记本 + 新建空间
@@ -199,20 +199,20 @@ export default function StudioNotebooksPage() { {isLoading ? Array.from({ length: 8 }).map((_, i) => ) : notebooks.map((nb) => ( - { setRenameTarget(nb); setRenameName(nb.name); setRenameError(""); }} - onDelete={(nb) => { setDeleteTarget(nb); setDeleteError(""); }} - /> - ))} + { setRenameTarget(nb); setRenameName(nb.name); setRenameError(""); }} + onDelete={(nb) => { setDeleteTarget(nb); setDeleteError(""); }} + /> + ))} {/* ── 新建 Dialog ── */} !creating && setCreateOpen(v)}> - 新建笔记本 + 新建空间