2022-01-11 10:47:10 +08:00
|
|
|
<script setup lang="ts">
|
|
|
|
// import { computed } from 'vue'
|
|
|
|
// const getCaches = computed((): string[] => {
|
|
|
|
// return []
|
|
|
|
// })
|
|
|
|
</script>
|
2022-01-09 10:57:50 +08:00
|
|
|
|
|
|
|
<template>
|
2022-01-11 10:47:10 +08:00
|
|
|
<RouterView>
|
|
|
|
<template #default="{ Component, route }">
|
|
|
|
<KeepAlive>
|
|
|
|
<Component :is="Component" :key="route.fullPath" />
|
|
|
|
</KeepAlive>
|
|
|
|
</template>
|
|
|
|
</RouterView>
|
2022-01-09 10:57:50 +08:00
|
|
|
</template>
|