mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-15 22:33:40 +08:00
refactor(projects)!: refactor route cache & support reset route cache strategy
This commit is contained in:
@@ -46,6 +46,10 @@ export const useAppStore = defineStore(SetupStoreId.App, () => {
|
||||
});
|
||||
|
||||
setReloadFlag(true);
|
||||
|
||||
if (themeStore.resetCacheStrategy === 'refresh') {
|
||||
routeStore.resetRouteCache();
|
||||
}
|
||||
}
|
||||
|
||||
const locale = ref<App.I18n.LangType>(localStg.get('lang') || 'zh-CN');
|
||||
|
Reference in New Issue
Block a user