From f0b52d7abb37fa45f20c51ee5a6f8ef8b099c0d3 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 06 四月 2023 11:12:24 +0800 Subject: [PATCH] update 优化固定头部页签滚动条被隐藏的问题 --- src/layout/index.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) 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 @@ 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; -- Gitblit v1.9.3