From ff0f79a47331779792fea2b10a91282eb8af06a3 Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 1 Oct 2026 23:44:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(app):=20=E7=85=A7=20Notice=20=E9=94=81?= =?UTF-8?q?=E5=AE=9A=E8=A7=86=E5=8F=A3=E2=80=94=E2=80=94html/body=20overfl?= =?UTF-8?q?ow=20hidden=20+=20main-wrapper=20=E5=86=85=E9=83=A8=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/App.vue b/src/App.vue index d1ccc2d..1460a7c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -63,11 +63,21 @@ const getRouterKey = (route: any) => route?.name; opacity: 0; } +/* 照 Notice 配方锁定视口:顶栏/侧栏/面包屑均 fixed,若 body 可滚,整页滚动会让内容 + 从 fixed 导航下方穿过(错位遮挡);改为 main-wrapper 内部滚动 */ +html, +body { + margin: 0; + padding: 0; + height: 100%; + overflow: hidden; +} #app { height: 100%; } .base-wrap-main .main-wrapper { height: 100%; + overflow-y: auto; }