支持平台入口初始页签

为平台入口透传 initialPlatformTab 参数

避免移动端隐藏页签覆盖显式创作页签

更新 RPG 入口交互测试的创作页签起点
This commit is contained in:
AIGameCreator App
2026-06-28 04:53:35 +08:00
parent e4395c77e0
commit 9af13974db
5 changed files with 49 additions and 42 deletions
@@ -1697,6 +1697,7 @@ export function PlatformEntryFlowShellImpl({
handleStartNewGame,
handleCustomWorldSelect,
initialPublicWorkCode,
initialPlatformTab,
}: PlatformEntryFlowShellProps) {
const authUi = useAuthUi();
const platformThemeClass =
@@ -2510,6 +2511,7 @@ export function PlatformEntryFlowShellImpl({
getProfileDashboard: getPlatformProfileDashboardWithLocalWalletDelta,
handleContinueGame,
hasInitialAgentSession,
initialPlatformTab,
});
const {
canReadProtectedData: canRefreshPlatformDashboard,
@@ -15512,7 +15514,9 @@ export function PlatformEntryFlowShellImpl({
}
activeDesktopNavTab={selectionStage === 'project' ? 'projects' : undefined}
allowHiddenActiveTab={
selectionStage === 'creation-home' || selectionStage === 'project'
initialPlatformTab === 'create' ||
selectionStage === 'creation-home' ||
selectionStage === 'project'
}
onTabChange={handlePlatformHomeTabChange}
hasSavedGame={hasSavedGame}