|
@@ -356,13 +356,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
{
|
|
|
if (hasChild(list, tChild))
|
|
|
{
|
|
|
- // 判断是否有子节点
|
|
|
- Iterator<SysMenu> it = childList.iterator();
|
|
|
- while (it.hasNext())
|
|
|
- {
|
|
|
- SysMenu n = (SysMenu) it.next();
|
|
|
- recursionFn(list, n);
|
|
|
- }
|
|
|
+ recursionFn(list, tChild);
|
|
|
}
|
|
|
}
|
|
|
}
|