Explorar o código

fix(keep-alive): tablist cache updating effect

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

close: #695
无木 %!s(int64=4) %!d(string=hai) anos
pai
achega
d62d0ca08c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/modules/multipleTab.ts

+ 1 - 1
src/store/modules/multipleTab.ts

@@ -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);