fix(canvas): 3D 导演台 - 完成 Issue #305 P0 稳定性治理 (#324)

* fix(canvas): 3D 导演台 - 修复状态回弹与保存恢复生命周期

* style(canvas): 3D 导演台 - 对齐 CI 格式门禁
This commit is contained in:
echoD886 authored and GitHub committed 2026-08-27 10:32:45 +08:00
1 parent 2a28ababf1
commit c2766544d7
42 files changed
+8124 -188

No files matched your search

+2 -1
View File
@@ -1784,7 +1784,7 @@ function InfiniteCanvasPage() {
<CanvasDirectorNodePanel
node={contentNode}
scene={currentProject?.directorScenes?.find((scene) => scene.id === contentNode.metadata?.directorSceneId) || null}
previewUrl={nodesRef.current.find((item) => item.id === contentNode.metadata?.directorPreviewNodeId)?.metadata?.content}
readNodeContent={(nodeId) => (nodeId ? nodesRef.current.find((item) => item.id === nodeId)?.metadata?.content : undefined)}
professional={workspaceMode === "professional"}
onOpen={() => openDirectorWorkbench(contentNode.id)}
/>
@@ -2598,6 +2598,7 @@ function InfiniteCanvasPage() {
onChange={saveDirectorScene}
onApply={applyDirectorOutput}
onDeleteImageNode={(nodeId) => deleteNodes(new Set([nodeId]))}
onFlush={() => flushCanvasStorePersistence()}
/>
</Suspense>
) : null}