src/layout/components/Sidebar/index.vue @@ -31,6 +31,7 @@ 'sidebar' ]), routes() { console.log(this.$router.options.routes); return this.$router.options.routes }, activeMenu() {