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

This commit is contained in:
Coderclc 2021-11-15 09:32:14 +08:00 committed by GitHub
parent 7e00488635
commit b3c4002b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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