diff --git a/src/layout/components/AppMain/index.vue b/src/layout/components/AppMain/index.vue index 5eb2a657..f9770dfd 100644 --- a/src/layout/components/AppMain/index.vue +++ b/src/layout/components/AppMain/index.vue @@ -73,11 +73,13 @@ const cachedViews = computed(() => tagsViewStore.cachedViews); // 缓存页面 .layout-top { .fixed-header + .app-main { + min-height: calc(100vh - $navbar-height); padding-top: 0; } .hasTagsView { .fixed-header + .app-main { + min-height: calc(100vh - $navbar-height); padding-top: $tags-view-height; } }