From 896962a5c57801f2843754bb171d9a0b4bff62c7 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 5 May 2019 15:55:25 +0800 Subject: [PATCH] perf: optimize page scrolling when setting fixedHeader --- src/layout/components/AppMain.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index e01ec98..178d579 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -27,5 +27,7 @@ export default { } .fixed-header+.app-main { padding-top: 50px; + height: 100vh; + overflow: auto; }