diff --git a/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningUserInputCard.tsx b/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningUserInputCard.tsx index b4db3e9a7..dff533d0b 100644 --- a/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningUserInputCard.tsx +++ b/apps/ai-game-creator-shell/src/view/project-development/planning/PlanningUserInputCard.tsx @@ -26,6 +26,12 @@ export function PlanningUserInputCard({ Boolean(answers[question.id]?.trim()), ); const disabled = controlBusy || submitting || answerPrepared; + let submitLabel = '提交回答'; + if (answerPrepared) { + submitLabel = '回答已提交'; + } else if (controlBusy || submitting) { + submitLabel = '提交中'; + } return (
@@ -93,11 +99,7 @@ export function PlanningUserInputCard({ ).finally(() => setSubmitting(false)); }} > - {answerPrepared - ? '回答已提交' - : controlBusy || submitting - ? '提交中' - : '提交回答'} + {submitLabel}
);