feat(projects): modify the default value of the reset cache policy to 'refresh'.

This commit is contained in:
Azir-11 2025-08-24 21:38:34 +08:00 committed by Soybean
parent 100e0ea55d
commit 3c0a52825d
2 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,8 @@ export const themePageAnimationModeRecord: Record<UnionKey.ThemePageAnimateMode,
export const themePageAnimationModeOptions = transformRecordToOption(themePageAnimationModeRecord);
export const resetCacheStrategyRecord: Record<UnionKey.ResetCacheStrategy, App.I18n.I18nKey> = {
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);

View File

@ -12,7 +12,7 @@ export const themeSettings: App.Theme.ThemeSetting = {
error: '#f5222d'
},
isInfoFollowPrimary: true,
resetCacheStrategy: 'close',
resetCacheStrategy: 'refresh',
layout: {
mode: 'vertical',
scrollMode: 'content'