Browse Source

修改层级

wzl 2 years ago
parent
commit
5efbe8d72e
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/assets/scss/element-variables.scss
  2. 1 1
      src/components/common/Header.vue

+ 1 - 0
src/assets/scss/element-variables.scss

@@ -226,6 +226,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
 }
 // 消息提示 成功/失败
 .el-message {
+  z-index: 9999 !important;
   top: 66px !important;
   min-width: unset;
   padding: 9px 16px;

+ 1 - 1
src/components/common/Header.vue

@@ -59,7 +59,7 @@ export default Vue.extend({
   background-color: #fff;
   box-shadow: 0px 4px 10px rgba(78, 89, 105, 0.06);
   position: fixed;
-  z-index: 2022;
+  z-index: 5000;
   .logo-title {
     height: 100%;
     display: flex;