From b857ed8f0266586def9e4832765abfed21d7dcf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=AF=B8=E7=81=B0?= Date: Tue, 11 Nov 2025 17:46:27 +0800 Subject: [PATCH] feat(projects): :fire: optimize tabs cache cleaning strategy. fixed [#165] --- src/constants/app.ts | 6 ------ .../modules/theme-drawer/modules/page-fun.vue | 17 +---------------- src/locales/langs/en-us.ts | 5 ----- src/locales/langs/zh-cn.ts | 5 ----- src/store/modules/app/index.ts | 4 ---- src/store/modules/tab/index.ts | 12 ------------ src/theme/settings.ts | 1 - src/typings/app.d.ts | 3 --- src/typings/union-key.d.ts | 8 -------- 9 files changed, 1 insertion(+), 60 deletions(-) diff --git a/src/constants/app.ts b/src/constants/app.ts index 6f4d94a..2a3ea0d 100644 --- a/src/constants/app.ts +++ b/src/constants/app.ts @@ -55,10 +55,4 @@ export const themePageAnimationModeRecord: Record = { - close: 'theme.resetCacheStrategy.close', - refresh: 'theme.resetCacheStrategy.refresh' -}; -export const resetCacheStrategyOptions = transformRecordToOption(resetCacheStrategyRecord); - export const DARK_CLASS = 'dark'; diff --git a/src/layouts/modules/theme-drawer/modules/page-fun.vue b/src/layouts/modules/theme-drawer/modules/page-fun.vue index d0bb8d0..9114519 100644 --- a/src/layouts/modules/theme-drawer/modules/page-fun.vue +++ b/src/layouts/modules/theme-drawer/modules/page-fun.vue @@ -1,11 +1,6 @@