This commit is contained in:
zlwu committed 2026-09-01 13:51:32 +08:00
1 parent ba21c40058
commit 0e8f244bc3
16 files changed
+405027 -2098

No files matched your search

@@ -67,13 +67,15 @@ export async function preopenFavoriteTabsIfNeeded(userId: string): Promise<strin
if (isFirst) {
firstFavPath = card.path
}
// 跟随路由 meta,避免重业务页被收藏预开强制缓存
const routeKeepAlive = Boolean(resolved.meta?.keepAlive)
worktab.openTab(
{
path: card.path,
title: card.title,
name: String(resolved.name || ''),
fixedTab: false,
keepAlive: true
keepAlive: routeKeepAlive
},
{ activate: isFirst }
)