Skip to content

Commit

Permalink
fix(menu): ensure the menu has meta attributes close #397
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Mar 20, 2021
1 parent c3096e2 commit b2a1951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/router/helper/menuHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) {

return {
...(node.meta || {}),
meta: node.meta,
name: title,
hideMenu,
path: node.path,
Expand Down

0 comments on commit b2a1951

Please sign in to comment.