src/layout/components/Sidebar/index.vue
@@ -39,7 +39,6 @@ import SidebarItem from './SidebarItem' import variables from '@/styles/variables.scss' import { LoginMenu } from '@/api/user' import axios from 'axios' export default { components: { SidebarItem, Logo }, @@ -102,6 +101,7 @@ } }) return arr2 // return arr }, activeMenu() { const route = this.$route