Skip to content

Commit

Permalink
fix(keep-alive): tablist cache updating effect
Browse files Browse the repository at this point in the history
修复 updateCacheTab 逻辑问题造成的KeepAlive配置可能失效的问题

close: #695
  • Loading branch information
mynetfan committed Jun 3, 2021
1 parent 808328d commit d62d0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/multipleTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const useMultipleTabStore = defineStore({
// Ignore the cache
const needCache = !item.meta?.ignoreKeepAlive;
if (!needCache) {
return;
continue;
}
const name = item.name as string;
cacheMap.add(name);
Expand Down

0 comments on commit d62d0ca

Please sign in to comment.