From d62d0ca08cff442c23eb9265851b066a2f24afa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Thu, 3 Jun 2021 16:28:48 +0800 Subject: [PATCH] fix(keep-alive): tablist cache updating effect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 updateCacheTab 逻辑问题造成的KeepAlive配置可能失效的问题 close: #695 --- src/store/modules/multipleTab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/multipleTab.ts b/src/store/modules/multipleTab.ts index 08862fa63..b540b8c5c 100644 --- a/src/store/modules/multipleTab.ts +++ b/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);