diff --git a/apps/ai-game-creator-shell/src/components/game-distribution/GameDistributionPublishFormView.tsx b/apps/ai-game-creator-shell/src/components/game-distribution/GameDistributionPublishFormView.tsx
index a4ed3a66a..13b3143c2 100644
--- a/apps/ai-game-creator-shell/src/components/game-distribution/GameDistributionPublishFormView.tsx
+++ b/apps/ai-game-creator-shell/src/components/game-distribution/GameDistributionPublishFormView.tsx
@@ -55,6 +55,18 @@ function resolvePublicationStatusLabel(
}
}
+/** 截图选择按钮的文案:满 / 上传中 / 可添加三态,上限跟着常量走。 */
+function resolveScreenshotPickLabel(state: {
+ activeScreenshotCount: number;
+ screenshotsUploading: boolean;
+}) {
+ if (state.activeScreenshotCount >= MAX_AGC_GAME_SCREENSHOTS) {
+ return `截图已满 ${MAX_AGC_GAME_SCREENSHOTS} 张`;
+ }
+ if (state.screenshotsUploading) return '截图上传中…';
+ return '添加截图';
+}
+
/**
* 发布资料表单的表现层(工作台内联形态)。
*
@@ -289,11 +301,10 @@ export function GameDistributionPublishFormView({
}}
/>
- {activeScreenshotCount >= MAX_AGC_GAME_SCREENSHOTS
- ? '截图已满 6 张'
- : screenshotsUploading
- ? '截图上传中…'
- : '添加截图'}
+ {resolveScreenshotPickLabel({
+ activeScreenshotCount,
+ screenshotsUploading,
+ })}