Browse Source

修复页面加载时滚动条上下跳动

初志鑫 4 years ago
parent
commit
226e57f511
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/styles/vab.scss

+ 3 - 0
src/styles/vab.scss

@@ -147,6 +147,9 @@ html {
 
     /* 进度条开始 */
     #nprogress {
+      position: fixed;
+      z-index: $base-z-index;
+
       .bar {
         background: $base-color-blue !important;
       }