Sfoglia il codice sorgente

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

Vben 4 anni fa
parent
commit
b2a1951fd0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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,