主账号和子账号同一设备登录遇到storge问题

This commit is contained in:
2026-07-10 10:54:04 +08:00
parent 2368121972
commit f4f4f1b4aa
4 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export function isSubAccount(account: PartnerMe | null | undefined): boolean {
}
export function partnerHomePath(account: PartnerMe | null | undefined): string {
return isSubAccount(account) ? '/stores/new' : '/';
return isSubAccount(account) ? '/stores/new?step=1' : '/';
}
export const SUB_ACCOUNT_ALLOWED_PREFIXES = ['/stores', '/login'];