<template>
  <n-layout-sider
    class="layout_sidebar"
    v-bind="getSideOptions"
  >
    <SideMenu />
  </n-layout-sider>
</template>

<script setup>
import { computed, toRaw } from 'vue'
import SideMenu from '@/layout/components/Menu/index.vue'
import { useSettingStore } from '@/store/modules/setting.js'
const settingStore = useSettingStore()

const getSideOptions = computed(() => {
  return toRaw(settingStore.getSidebarSetting)
})

</script>
