mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
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 {
|
||||
...(node.meta || {}),
|
||||
meta: node.meta,
|
||||
name: title,
|
||||
hideMenu,
|
||||
path: node.path,
|
||||
|
Loading…
Reference in New Issue
Block a user