Skip to content

Commit b2a1951

Browse files
committed
fix(menu): ensure the menu has meta attributes close #397
1 parent c3096e2 commit b2a1951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/router/helper/menuHelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) {
5454

5555
return {
5656
...(node.meta || {}),
57+
meta: node.meta,
5758
name: title,
5859
hideMenu,
5960
path: node.path,

0 commit comments

Comments
 (0)