|
@@ -154,7 +154,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
router.setRedirect("noRedirect");
|
|
|
router.setChildren(buildMenus(cMenus));
|
|
|
}
|
|
|
- else if (isMeunFrame(menu))
|
|
|
+ else if (isMenuFrame(menu))
|
|
|
{
|
|
|
List<RouterVo> childrenList = new ArrayList<RouterVo>();
|
|
|
RouterVo children = new RouterVo();
|
|
@@ -317,7 +317,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
{
|
|
|
String routerName = StrUtil.upperFirst(menu.getPath());
|
|
|
// 非外链并且是一级目录(类型为目录)
|
|
|
- if (isMeunFrame(menu))
|
|
|
+ if (isMenuFrame(menu))
|
|
|
{
|
|
|
routerName = StrUtil.EMPTY;
|
|
|
}
|
|
@@ -340,7 +340,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
routerPath = "/" + menu.getPath();
|
|
|
}
|
|
|
// 非外链并且是一级目录(类型为菜单)
|
|
|
- else if (isMeunFrame(menu))
|
|
|
+ else if (isMenuFrame(menu))
|
|
|
{
|
|
|
routerPath = "/";
|
|
|
}
|
|
@@ -356,7 +356,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
public String getComponent(SysMenu menu)
|
|
|
{
|
|
|
String component = UserConstants.LAYOUT;
|
|
|
- if (StrUtil.isNotEmpty(menu.getComponent()) && !isMeunFrame(menu))
|
|
|
+ if (StrUtil.isNotEmpty(menu.getComponent()) && !isMenuFrame(menu))
|
|
|
{
|
|
|
component = menu.getComponent();
|
|
|
}
|
|
@@ -373,7 +373,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
* @param menu 菜单信息
|
|
|
* @return 结果
|
|
|
*/
|
|
|
- public boolean isMeunFrame(SysMenu menu)
|
|
|
+ public boolean isMenuFrame(SysMenu menu)
|
|
|
{
|
|
|
return menu.getParentId().intValue() == 0 && UserConstants.TYPE_MENU.equals(menu.getMenuType())
|
|
|
&& menu.getIsFrame().equals(UserConstants.NO_FRAME);
|
|
@@ -381,7 +381,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
|
|
|
|
/**
|
|
|
* 是否为parent_view组件
|
|
|
- *
|
|
|
+ *
|
|
|
* @param menu 菜单信息
|
|
|
* @return 结果
|
|
|
*/
|