提交 d62d0ca0 作者: 无木

fix(keep-alive): tablist cache updating effect

修复 updateCacheTab 逻辑问题造成的KeepAlive配置可能失效的问题

close: #695
上级 808328dc
...@@ -60,7 +60,7 @@ export const useMultipleTabStore = defineStore({ ...@@ -60,7 +60,7 @@ export const useMultipleTabStore = defineStore({
// Ignore the cache // Ignore the cache
const needCache = !item.meta?.ignoreKeepAlive; const needCache = !item.meta?.ignoreKeepAlive;
if (!needCache) { if (!needCache) {
return; continue;
} }
const name = item.name as string; const name = item.name as string;
cacheMap.add(name); cacheMap.add(name);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论