sync(theme-4): 同步 main Admin 菜单权限修复与 i18n

This commit is contained in:
2026-06-22 16:23:40 +08:00
parent cffad00652
commit 2cb84c2c72
7 changed files with 680 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ export async function hydrateStaffSession(): Promise<boolean> {
maxAgentLevel: typeof raw.maxAgentLevel === 'number' ? raw.maxAgentLevel : null,
canManageSubAgents: raw.canManageSubAgents === true,
inviteCode: raw.inviteCode ?? null,
visibleMenus: raw.visibleMenus ?? null,
});
lastHydrateAt = Date.now();
return true;