소스 검색

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

初志鑫 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;
       }