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) {
return !!name;
}
const { title, hideBreadcrumb } = meta;
if (!title || hideBreadcrumb) {
const { title, hideBreadcrumb, hideMenu } = meta;
if (!title || hideBreadcrumb || hideMenu) {
return false;
}
return true;