Pārlūkot izejas kodu

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

Coderclc 3 gadi atpakaļ
vecāks
revīzija
b3c4002b69

+ 2 - 2
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;