feat(projects): optimize tabs cache cleaning strategy. close #820.

This commit is contained in:
Azir-11
2025-10-02 00:03:55 +08:00
committed by Soybean
parent 2a0c9f1b41
commit ef7acc626f
14 changed files with 6 additions and 55 deletions

View File

@@ -46,10 +46,7 @@ export const useAppStore = defineStore(SetupStoreId.App, () => {
});
setReloadFlag(true);
if (themeStore.resetCacheStrategy === 'refresh') {
routeStore.resetRouteCache();
}
routeStore.resetRouteCache();
}
const locale = ref<App.I18n.LangType>(localStg.get('lang') || 'zh-CN');