You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
791 B
38 lines
791 B
<script setup lang="ts">
|
|
import { useTagsViewStore } from "@/store/modules/tagsView";
|
|
|
|
const tagsViewStore = useTagsViewStore();
|
|
</script>
|
|
|
|
<template>
|
|
<section class="app-main">
|
|
<router-view v-slot="{ Component, route }">
|
|
<keep-alive :include="tagsViewStore.cachedViews">
|
|
<component :is="Component" :key="route.fullPath" />
|
|
</keep-alive>
|
|
</router-view>
|
|
</section>
|
|
</template>
|
|
<style lang="scss">
|
|
.app-main {
|
|
.app-container {
|
|
.el-card {
|
|
border: none !important;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
<style lang="scss" scoped>
|
|
.app-main {
|
|
position: relative;
|
|
width: 100%;
|
|
/* 50= navbar 50 */
|
|
height: calc(100vh - 170px);
|
|
overflow: auto;
|
|
// background-color: var(--el-bg-color-page);
|
|
}
|
|
|
|
.fixed-header + .app-main {
|
|
// padding-top: 70px;
|
|
}
|
|
</style>
|
|
|