From ef95f4f1590d690ebd7423a101a5d13bf8d0fdf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 5 Sep 2026 13:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E8=81=94=E5=90=88=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E5=90=8E=E7=9A=84=E8=8A=82=E7=82=B9=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 替换生成新树后清除已失效的旧节点选中状态 --- apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts b/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts index e31f9a3f3..034dec6db 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts +++ b/apps/ai-game-creator-shell/src/view/ui-editor/useUiEditorPage.ts @@ -1009,6 +1009,7 @@ export function useUiEditorSession( }, ); editor.replaceState(applyRecognitionAndBindingResult(snapshot, result)); + setSelectedNodeId(null); setBindingStatus('组件绑定完成。'); setHasBound(true); });