浏览代码

更新 菜单

王智慧 3 年之前
父节点
当前提交
ba99345142
共有 1 个文件被更改,包括 14 次插入5 次删除
  1. 14 5
      src/layout/Aside.vue

+ 14 - 5
src/layout/Aside.vue

@@ -1,7 +1,7 @@
 <template>
   <el-menu
     :default-active="store.state.currentMenuItem"
-    style="width: 160px; height: 100%; overflow: hidden"
+    class="menu"
     background-color="#141B29"
     text-color="#fff"
     active-text-color="#ffd04b"
@@ -110,10 +110,6 @@ let menu = [
         path: "/workStation/insuranceManage",
         name: "保险管理",
       },
-      {
-        path: "/shipCheck/shipCheck",
-        name: "船舶安检",
-      },
     ],
   },
 ];
@@ -128,4 +124,17 @@ let menu = [
   min-width: 158px !important;
   overflow: hidden;
 }
+
+.menu {
+  width: 160px;
+  height: 100%;
+  overflow-x: hidden;
+  overflow-y: auto;
+  scrollbar-width: none;
+  -ms-overflow-style: none;
+}
+
+.menu::-webkit-scrollbar {
+  display: none;
+}
 </style>