Browse Source

fix: Fix setting hideMenu, bread bar jump problem (#1358)

pull/1379/head
Coderclc 5 years ago
committed by GitHub
parent
commit
b3c4002b69
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/layouts/default/header/components/Breadcrumb.vue

4
src/layouts/default/header/components/Breadcrumb.vue

@ -101,8 +101,8 @@
if (!meta) {
return !!name;
}
const { title, hideBreadcrumb } = meta;
if (!title || hideBreadcrumb) {
const { title, hideBreadcrumb, hideMenu } = meta;
if (!title || hideBreadcrumb || hideMenu) {
return false;
}
return true;

Loading…
Cancel
Save