fix(menu): ensure the menu has meta attributes close #397
This commit is contained in:
parent
c3096e26ff
commit
b2a1951fd0
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue