lighter hai 1 ano
pai
achega
4d48a75abd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/router/index.ts

+ 1 - 1
src/router/index.ts

@@ -131,7 +131,7 @@ function addRoutes(parentPath: string, menus: IntergrationMenu[]) {
         };
 
         if (data.componentName === 'EmptyRouter') {
-            if (data.componentName === 'EmptyRouter' && item.children && item.children.length > 0) {
+            if (item.children && item.children.length > 0) {
                 recurseChildren(item.path, item.children);
             }
         } else {