mo преди 5 години
родител
ревизия
58bce90ad3
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/layout/components/Sidebar/index.vue

+ 2 - 0
src/layout/components/Sidebar/index.vue

@@ -42,9 +42,11 @@ export default {
       const route = this.$route
       const { meta, path } = route
       // if set path, the sidebar will highlight the path you set
+      // 设置高亮的位置
       if (meta.activeMenu) {
         return meta.activeMenu
       }
+      console.log(meta, path)
       return path
     },
     showLogo () {