<script setup lang="ts">
import { useAuthStore } from '~/stores/login';

const authStore = useAuthStore();
const { authorization } = storeToRefs(authStore);

const selectedKeys = ref<string[]>([]);
</script>

<template>
  <a-menu v-model:selected-keys="selectedKeys" mode="inline" theme="dark">
    <layout-left-menu-item :menu-list="authorization.menuList" />
  </a-menu>
</template>
