内链设置meta信息

pull/82/MERGE
RuoYi 3 years ago
parent fb9a480f3c
commit 883d89ee0b

@ -173,7 +173,7 @@ public class SysMenuServiceImpl implements ISysMenuService
} }
else if (menu.getParentId().intValue() == 0 && isInnerLink(menu)) else if (menu.getParentId().intValue() == 0 && isInnerLink(menu))
{ {
router.setMeta(null); router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon()));
router.setPath("/inner"); router.setPath("/inner");
List<RouterVo> childrenList = new ArrayList<RouterVo>(); List<RouterVo> childrenList = new ArrayList<RouterVo>();
RouterVo children = new RouterVo(); RouterVo children = new RouterVo();

Loading…
Cancel
Save