diff --git a/apps/web/app/projects/[id]/write/page.tsx b/apps/web/app/projects/[id]/write/page.tsx index a481539..77f8b23 100644 --- a/apps/web/app/projects/[id]/write/page.tsx +++ b/apps/web/app/projects/[id]/write/page.tsx @@ -43,7 +43,10 @@ export default async function WritePage({ params, searchParams }: PageProps) { })); return ( + // key=章号:客户端切章(?chapter=N 变化)时强制重挂载,用新章草稿刷新编辑器状态, + // 避免 Workbench 内 useState(initialText)/autosave 基线沿用上一章而显示旧内容。