salix-front/src/components/LeftMenuItemGroup.vue

23 lines
495 B
Vue
Raw Normal View History

2022-11-29 13:45:48 +00:00
<script setup>
import { computed } from 'vue';
import LeftMenuItem from './LeftMenuItem.vue';
const props = defineProps({
item: {
type: Object,
required: true,
},
group: {
type: String,
default: '',
},
});
2023-05-26 12:01:24 +00:00
const item = computed(() => props.item); // eslint-disable-line vue/no-dupe-keys
2022-11-29 13:45:48 +00:00
</script>
<template>
2023-08-09 11:29:00 +00:00
<template v-for="section in item.children" :key="section.name">
<LeftMenuItem :item="section" />
</template>
2022-11-29 13:45:48 +00:00
</template>