fix: Fix setting hideMenu, bread bar jump problem (#1358)
This commit is contained in:
parent
7e00488635
commit
b3c4002b69
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue