Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 03ce030e
authored
Oct 14, 2025
by
lidongcheng88
Committed by
GitHub
Oct 14, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 混合双列 onMounted 关闭二级侧边栏 (#6807)
Co-authored-by: ldc <lidchen@tencent.com>
1 parent
59097e24
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
packages/effects/layouts/src/basic/layout.vue
packages/effects/layouts/src/basic/layout.vue
View file @
03ce030
...
@@ -158,7 +158,9 @@ function clickLogo() {
...
@@ -158,7 +158,9 @@ function clickLogo() {
function
autoCollapseMenuByRouteMeta
(
route
:
RouteLocationNormalizedLoaded
)
{
function
autoCollapseMenuByRouteMeta
(
route
:
RouteLocationNormalizedLoaded
)
{
// 只在双列模式下生效
// 只在双列模式下生效
if
(
if
(
preferences
.
app
.
layout
===
'sidebar-mixed-nav'
&&
[
'header-mixed-nav'
,
'sidebar-mixed-nav'
].
includes
(
preferences
.
app
.
layout
,
)
&&
route
.
meta
&&
route
.
meta
&&
route
.
meta
.
hideInMenu
route
.
meta
.
hideInMenu
)
{
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment