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

This commit is contained in:
Vben 2021-03-20 21:48:47 +08:00
parent c3096e26ff
commit b2a1951fd0

View File

@ -54,6 +54,7 @@ export function transformRouteToMenu(routeModList: AppRouteModule[]) {
return {
...(node.meta || {}),
meta: node.meta,
name: title,
hideMenu,
path: node.path,