From 7f6c39a2d36c89dfb7c859e76092c840cc45c3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Thu, 29 Feb 2024 16:49:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20appMain=20=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E5=9C=A8=E9=9D=9E=E5=9B=BA=E5=AE=9A=E5=A4=B4=E9=83=A8=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=AF=BC=E8=87=B4=E5=87=BA=E7=8E=B0=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/AppMain/index.vue | 4 ++++ 1 file changed, 4 insertions(+) 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;