Jelajahi Sumber

bug:修复消息弹窗bug

lupeng 1 tahun lalu
induk
melakukan
64dec10914
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      src/layout/components/NavBar/components/NavbarRight.vue

+ 4 - 2
src/layout/components/NavBar/components/NavbarRight.vue

@@ -77,6 +77,7 @@
       v-model="dialog.visible"
       v-model="dialog.visible"
       :title="dialog.title"
       :title="dialog.title"
       width="980px"
       width="980px"
+      :append-to-body="true"
       min-height="800px"
       min-height="800px"
       @close="dialog.visible = false"
       @close="dialog.visible = false"
     >
     >
@@ -285,7 +286,6 @@ const userCenter = () => {
     background: rgb(0 0 0 / 10%);
     background: rgb(0 0 0 / 10%);
   }
   }
 }
 }
-
 .layout-top,
 .layout-top,
 .layout-mix {
 .layout-mix {
   .setting-item,
   .setting-item,
@@ -293,7 +293,9 @@ const userCenter = () => {
     color: var(--el-color-white);
     color: var(--el-color-white);
   }
   }
 }
 }
-
+.el-scrollbar{
+  height: auto !important;
+}
 .dark .setting-item:hover {
 .dark .setting-item:hover {
   background: rgb(255 255 255 / 20%);
   background: rgb(255 255 255 / 20%);
 }
 }