Commit d62d0ca0 authored by 无木's avatar 无木

fix(keep-alive): tablist cache updating effect

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

close: #695
parent 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 is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment