Skip to content

Commit

Permalink
fix: sub menu not show
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Feb 29, 2024
1 parent 5cb5927 commit 26aa5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/menu/components/sub-menu-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<MenuItemContent :item="item" />
</template>
<template v-for="child in item.children || []" :key="child.name">
<MyMenuItem :item="child" />
<MySubMenuItem :item="child" />
</template>
</Menu.SubMenu>
<!-- 菜单 -->
Expand Down

0 comments on commit 26aa5c7

Please sign in to comment.