Skip to content

Commit

Permalink
fix: layput meKeepAlive 最大缓存值设置为30
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Apr 3, 2023
1 parent 6f1121e commit 4637542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/components/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const routeStore = useRouteStore();
let keepAliveProps: undefined | ComputedRef<MeKeepAliveProps>;
if (settingConfig.openKeepAlive) {
keepAliveProps = computed<MeKeepAliveProps>(() => ({
max: 3,
max: 30,
includeKey: [...routeStore.cacheFullPath],
}));
const route = useRoute();
Expand Down

0 comments on commit 4637542

Please sign in to comment.