Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
7faea8c3
authored
Jan 02, 2025
by
chenting
Committed by
Gitee
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复菜单总是显示无效的问题
Signed-off-by: chenting <1016830869@qq.com>
parent
c144439e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/utils/routerHelper.ts
+1
-1
No files found.
src/utils/routerHelper.ts
View file @
7faea8c3
...
...
@@ -73,7 +73,7 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord
noCache
:
!
route
.
keepAlive
,
alwaysShow
:
route
.
children
&&
route
.
children
.
length
===
1
&&
route
.
children
.
length
>
0
&&
(
route
.
alwaysShow
!==
undefined
?
route
.
alwaysShow
:
true
)
}
as
any
// 特殊逻辑:如果后端配置的 MenuDO.component 包含 ?,则表示需要传递参数
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment