wuhongyu 5 vuotta sitten
vanhempi
commit
a1eb7a8c42
1 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. 7 1
      src/layout/common/newmenu.vue

+ 7 - 1
src/layout/common/newmenu.vue

@@ -22,7 +22,9 @@ export default {
   created() {},
   computed: {},
   methods: {
-    handleSelect() {},
+    handleSelect(key, keyPath) {
+      console.log(key, keyPath);
+    },
     toPartisan() {
       this.$router.push({ path: '/partisan/index' });
     },
@@ -110,4 +112,8 @@ export default {
 /deep/.el-menu--horizontal > .el-menu-item {
   border-bottom: none;
 }
+
+/deep/.menu ul .active {
+  background: #215299 !important;
+}
 </style>