瀏覽代碼

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

初志鑫 4 年之前
父節點
當前提交
226e57f511
共有 1 個文件被更改,包括 3 次插入0 次删除
  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;
       }