|
|
@ -143,7 +143,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
|
|
|
|
router.setComponent(getComponent(menu));
|
|
|
|
router.setComponent(getComponent(menu));
|
|
|
|
router.setQuery(menu.getQueryParam());
|
|
|
|
router.setQuery(menu.getQueryParam());
|
|
|
|
router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
|
|
|
|
router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
|
|
|
|
List<SysMenu> cMenus = (List<SysMenu>) menu.getChildren();
|
|
|
|
List<SysMenu> cMenus = menu.getChildren();
|
|
|
|
if (!cMenus.isEmpty() && UserConstants.TYPE_DIR.equals(menu.getMenuType())) {
|
|
|
|
if (!cMenus.isEmpty() && UserConstants.TYPE_DIR.equals(menu.getMenuType())) {
|
|
|
|
router.setAlwaysShow(true);
|
|
|
|
router.setAlwaysShow(true);
|
|
|
|
router.setRedirect("noRedirect");
|
|
|
|
router.setRedirect("noRedirect");
|
|
|
|