Commit d62d0ca08cff442c23eb9265851b066a2f24afa8
1 parent
808328dc
fix(keep-alive): tablist cache updating effect
修复 updateCacheTab 逻辑问题造成的KeepAlive配置可能失效的问题 close: #695
Showing
1 changed file
with
1 additions
and
1 deletions
src/store/modules/multipleTab.ts
@@ -60,7 +60,7 @@ export const useMultipleTabStore = defineStore({ | @@ -60,7 +60,7 @@ export const useMultipleTabStore = defineStore({ | ||
60 | // Ignore the cache | 60 | // Ignore the cache |
61 | const needCache = !item.meta?.ignoreKeepAlive; | 61 | const needCache = !item.meta?.ignoreKeepAlive; |
62 | if (!needCache) { | 62 | if (!needCache) { |
63 | - return; | 63 | + continue; |
64 | } | 64 | } |
65 | const name = item.name as string; | 65 | const name = item.name as string; |
66 | cacheMap.add(name); | 66 | cacheMap.add(name); |