Skip to content

Commit

Permalink
fix(breadcrumb): if hideChildrenInmenu is true & hidden dropdown-menu (
Browse files Browse the repository at this point in the history
  • Loading branch information
zwtvip committed May 6, 2024
1 parent ef52853 commit 2af93c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/default/header/components/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<router-link v-else to="" @click="handleClick(routeItem)">
{{ t((routeItem.meta.title || routeItem.name) as string) }}
</router-link>
<template v-if="routeItem.children" #overlay>
<template v-if="routeItem.children && !routeItem.meta?.hideChildrenInMenu" #overlay>
<Menu>
<template v-for="childItem in routeItem.children" :key="childItem.name">
<MenuItem>
Expand Down

0 comments on commit 2af93c9

Please sign in to comment.