Sign in
canrd-outside
/
order-erp-front
·
Commits
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
1
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
b2a1951fd00433cb5e1c9dce982c53a9c9edd874
Authored by
Vben
2021-03-20 21:48:47 +0800
1 parent
c3096e26
fix(menu): ensure the menu has meta attributes close #397
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/router/helper/menuHelper.ts
src/router/helper/menuHelper.ts
View file @
b2a1951
...
...
@@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) {
54
54
55
55
return {
56
56
...(node.meta || {}),
57
+ meta: node.meta,
57
58
name: title,
58
59
hideMenu,
59
60
path: node.path,
...
...