feat(Logo): Add Logo component

This commit is contained in:
kailong321200875
2022-01-16 19:35:39 +08:00
parent 41281c4d54
commit 958edefe7b
12 changed files with 134 additions and 12 deletions

View File

@@ -10,11 +10,22 @@ const getCaches = computed((): string[] => {
</script>
<template>
<router-view>
<template #default="{ Component, route }">
<keep-alive :include="getCaches">
<component :is="Component" :key="route.fullPath" />
</keep-alive>
</template>
</router-view>
<el-scrollbar
:class="[
'v-content',
{
'!h-[calc(100%-var(--top-tool-height)-var(--tags-view-height))]': true
}
]"
>
<section class="p-[var(--app-content-padding)]">
<router-view>
<template #default="{ Component, route }">
<keep-alive :include="getCaches">
<component :is="Component" :key="route.fullPath" />
</keep-alive>
</template>
</router-view>
</section>
</el-scrollbar>
</template>