Commit b3c4002b69af100cb637da2aae8e1757fe51f0a0
Committed by
GitHub
1 parent
7e004886
fix: Fix setting hideMenu, bread bar jump problem (#1358)
Showing
1 changed file
with
2 additions
and
2 deletions
src/layouts/default/header/components/Breadcrumb.vue
@@ -101,8 +101,8 @@ | @@ -101,8 +101,8 @@ | ||
101 | if (!meta) { | 101 | if (!meta) { |
102 | return !!name; | 102 | return !!name; |
103 | } | 103 | } |
104 | - const { title, hideBreadcrumb } = meta; | ||
105 | - if (!title || hideBreadcrumb) { | 104 | + const { title, hideBreadcrumb, hideMenu } = meta; |
105 | + if (!title || hideBreadcrumb || hideMenu) { | ||
106 | return false; | 106 | return false; |
107 | } | 107 | } |
108 | return true; | 108 | return true; |