<template>
  <el-menu
    :default-active="route.name"
  :unique-opened="true"
   text-color="#a7b1c2"
    active-text-color="#36639E"
   router
   class="my-menu"

      unique-opened

    >
      <menu-i :menu-list="menuList"/>
    </el-menu>
  </template>

  <script>
  import {Edit} from "@element-plus/icons-vue";
  import MenuI from "@/components/common/MenuI.vue";
  import {useRoute} from "vue-router";

  export default {
    name: "InfinityElMenu",
    methods: {},
    components: {MenuI, Edit},
    setup() {
      const route = useRoute()
      return {
        route
      }
    },
    props:{
      menuList:{

      }
    }
  }
  </script>

  <style scoped lang="scss">

  </style>
