diff --git a/src/layout/components/AppMain/index.vue b/src/layout/components/AppMain/index.vue index 53f37bcd..aae6e675 100644 --- a/src/layout/components/AppMain/index.vue +++ b/src/layout/components/AppMain/index.vue @@ -30,6 +30,10 @@ const cachedViews = computed(() => useTagsViewStore().cachedViews); // 缓存页 background-color: var(--el-bg-color-page); } +.hasTagsView .app-main { + min-height: calc(100vh - $navbar-height - $tags-view-height); +} + .fixed-header + .app-main { min-height: 100vh; padding-top: $navbar-height;