Commit b2a1951f authored by Vben's avatar Vben

fix(menu): ensure the menu has meta attributes close #397

parent c3096e26
...@@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) { ...@@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) {
return { return {
...(node.meta || {}), ...(node.meta || {}),
meta: node.meta,
name: title, name: title,
hideMenu, hideMenu,
path: node.path, path: node.path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment