From 7917b6b4061cba6ab11a25a6583f532e0b85e87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 1 Sep 2026 20:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20UI=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E4=BF=9D=E5=AD=98=E7=94=9F=E6=88=90=E7=AB=9E=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一保存、生成、加载与 AI 工作流动作的忙碌禁用状态 让保存和生成序列共享 editor 状态锁并在动作入口校验 阻止工作流步骤切换在异步操作期间插入 --- .../components/WorkflowActionCard.tsx | 4 +- .../src/view/ui-editor/index.tsx | 12 +-- .../src/view/ui-editor/useUiEditorPage.ts | 97 ++++++++++++++----- 3 files changed, 82 insertions(+), 31 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/components/WorkflowActionCard.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/components/WorkflowActionCard.tsx index 3e450d5aa..c5bf945e4 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/components/WorkflowActionCard.tsx +++ b/apps/ai-game-creator-shell/src/view/ui-editor/components/WorkflowActionCard.tsx @@ -39,7 +39,7 @@ export function WorkflowActionCard({