diff --git a/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningChatView.tsx b/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningChatView.tsx index 2ac20eac3..2bc1d5236 100644 --- a/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningChatView.tsx +++ b/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningChatView.tsx @@ -200,6 +200,12 @@ export function PlanningChatView({ submitLabel = '思考中'; } const submitting = controlBusy && !needsUserInput; + // 输入区与提交按钮共用同一个禁用判据,避免两处条件各改一半而漂移。 + const composerDisabled = + controlBusy || + needsUserInput || + Boolean(designView?.session.pendingApproval) || + Boolean(designView?.session.pendingClarification); const renderMessage = (message: ChatMessage, index: number) => (