支持平台入口初始页签
为平台入口透传 initialPlatformTab 参数 避免移动端隐藏页签覆盖显式创作页签 更新 RPG 入口交互测试的创作页签起点
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user