We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8eff5 commit 22ab17fCopy full SHA for 22ab17f
src/layouts/components/Menu/index.vue
@@ -43,7 +43,7 @@ const isMenuPopup = computed<MenuInjection['isMenuPopup']>(() => {
43
function initItems(menu: MenuProps['menu'], parentPaths: string[] = []) {
44
menu.forEach((item) => {
45
const index = item.path ?? getUseId(item)
46
- if (item.children) {
+ if (item.children?.some(item => item.meta?.menu !== false)) {
47
const indexPath = [...parentPaths, index]
48
subMenus.value[index] = {
49
index,
0 commit comments