lighter 1 سال پیش
والد
کامیت
4d48a75abd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {