Ver Fonte

修复菜单滚动条

tongshangming há 3 anos atrás
pai
commit
dc18dfd421
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/GlobalMenu.vue

+ 1 - 1
src/components/GlobalMenu.vue

@@ -70,7 +70,7 @@ const handleSelect = (index: string) => {
 }
 .layout-menu {
   background-color: #fff;
-  height: calc(100vh - var(--el-header-height));
+  height: calc(100vh - 60px);
   border: none;
   flex-shrink: 0;
   overflow: auto;