We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59097e2 commit 03ce030Copy full SHA for 03ce030
packages/effects/layouts/src/basic/layout.vue
@@ -158,7 +158,9 @@ function clickLogo() {
158
function autoCollapseMenuByRouteMeta(route: RouteLocationNormalizedLoaded) {
159
// 只在双列模式下生效
160
if (
161
- preferences.app.layout === 'sidebar-mixed-nav' &&
+ ['header-mixed-nav', 'sidebar-mixed-nav'].includes(
162
+ preferences.app.layout,
163
+ ) &&
164
route.meta &&
165
route.meta.hideInMenu
166
) {
0 commit comments