From b9460d2028e4da89ddcf50b2cea359f07131bdb9 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Fri, 17 May 2024 23:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=85=A8=E5=B1=80=E6=9C=89=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/Layout.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/layout/Layout.vue b/src/layout/Layout.vue index 43f9b69d..ffb1b230 100644 --- a/src/layout/Layout.vue +++ b/src/layout/Layout.vue @@ -72,7 +72,12 @@ $prefix-cls: #{$namespace}-layout; .#{$prefix-cls} { background-color: var(--app-content-bg-color); :deep(.#{$elNamespace}-scrollbar__view) { - height: 100% !important; + //height: 100% !important; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; } }