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 () {