gohttpdUi/src/layout/Layout.vue

17 lines
353 B
Vue
Raw Normal View History

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