<template>
    <el-menu
      style="border:0"
      active-text-color="#ffd04b" 
      background-color="rgb(17,24,24)" 
      class="el-menu-vertical-demo"
      default-active="1"
      text-color="#fff" 
      @open="handleOpen" 
      @close="handleClose">
      <el-sub-menu index="1">
        <template #title>
          <el-icon>
            <location />
          </el-icon>
          <span>菜单一</span>
        </template>
          <el-menu-item index="1-1" style="background-color:rgb(23,60,49)">item one</el-menu-item>
          <el-menu-item index="1-2" style="background-color:rgb(23,60,49)">item two</el-menu-item>
      </el-sub-menu>
    </el-menu>
    
</template>

<script setup>
</script>

<style lang="scss" scoped>
  .el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}
</style>