Explorar o código

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

Vben %!s(int64=4) %!d(string=hai) anos
pai
achega
b2a1951fd0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/router/helper/menuHelper.ts

+ 1 - 0
src/router/helper/menuHelper.ts

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