From 3c0a52825de44838c86820d437adc7a5f892b174 Mon Sep 17 00:00:00 2001 From: Azir-11 <2075125282@qq.com> Date: Sun, 24 Aug 2025 21:38:34 +0800 Subject: [PATCH] feat(projects): modify the default value of the reset cache policy to 'refresh'. --- src/constants/app.ts | 4 ++-- src/theme/settings.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/app.ts b/src/constants/app.ts index 948e2836..fbc20cd4 100644 --- a/src/constants/app.ts +++ b/src/constants/app.ts @@ -58,8 +58,8 @@ export const themePageAnimationModeRecord: Record = { - close: 'theme.layout.resetCacheStrategy.close', - refresh: 'theme.layout.resetCacheStrategy.refresh' + refresh: 'theme.layout.resetCacheStrategy.refresh', + close: 'theme.layout.resetCacheStrategy.close' }; export const resetCacheStrategyOptions = transformRecordToOption(resetCacheStrategyRecord); diff --git a/src/theme/settings.ts b/src/theme/settings.ts index ad937c47..06f26e45 100644 --- a/src/theme/settings.ts +++ b/src/theme/settings.ts @@ -12,7 +12,7 @@ export const themeSettings: App.Theme.ThemeSetting = { error: '#f5222d' }, isInfoFollowPrimary: true, - resetCacheStrategy: 'close', + resetCacheStrategy: 'refresh', layout: { mode: 'vertical', scrollMode: 'content'