tweak client
This commit is contained in:
parent
9ac526b6b6
commit
bffe6fb9bf
12 changed files with 156 additions and 184 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<KeepAlive max="5">
|
||||
<KeepAlive :max="defaultStore.state.numberOfPageCache">
|
||||
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)"/>
|
||||
</KeepAlive>
|
||||
</template>
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { inject, nextTick, onMounted, onUnmounted, watch } from 'vue';
|
||||
import { Router } from '@/nirax';
|
||||
import { defaultStore } from '@/store';
|
||||
|
||||
const props = defineProps<{
|
||||
router?: Router;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue