loulijun2021
2022-06-15 edbe2964e959a334e1d9e12717bf854d89d25c92
src/layout/components/Sidebar/index.vue
@@ -37,6 +37,7 @@
import SidebarItem from './SidebarItem'
import variables from '@/styles/variables.scss'
import { LoginMenu } from '@/api/user'
import axios from 'axios'
export default {
  components: { SidebarItem, Logo },
@@ -55,7 +56,8 @@
    //     children: [
    //       { name: '组织架构' },
    //       { name: '角色清单' },
    //       { name: '用户清单' }
    //       { name: '用户清单' }color: $main_color !important;
    //     ]
    //   },
    //   {
@@ -68,8 +70,14 @@
    //   }
    // ]
    // this.routers = arr
    console.log(document.cookie, 777)
    const res = await LoginMenu()
    console.log(res, 999)
    // axios.get('http://121.196.36.24:8001/api/Login/LoginSave?username=Admin&password=123456').then(res => {
    //   console.log(res, 11)
    // })
  },
  computed: {
    ...mapGetters([