Commit b2a1951fd00433cb5e1c9dce982c53a9c9edd874

Authored by Vben
1 parent c3096e26

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

src/router/helper/menuHelper.ts
... ... @@ -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,
... ...