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 06a416cb5d
commit 6cda40f9b5

View File

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