From f0b52d7abb37fa45f20c51ee5a6f8ef8b099c0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Thu, 6 Apr 2023 11:12:24 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=A4=B4=E9=83=A8=E9=A1=B5=E7=AD=BE=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E8=A2=AB=E9=9A=90=E8=97=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/layout/index.vue b/src/layout/index.vue index fb59a13..1c8f97a 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -76,6 +76,18 @@ const setLayout = () => { height: 100%; width: 100%; + .el-scrollbar { + height: 100%; + } + + :deep(.el-scrollbar__bar).is-vertical { + z-index: 10; + } + + :deep(.el-scrollbar__wrap) { + overflow-x: hidden; + } + &.mobile.openSidebar { position: fixed; top: 0;