@@ -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 {