Parcourir la source

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

初志鑫 il y a 4 ans
Parent
commit
226e57f511
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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;
       }