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