内链设置meta信息

This commit is contained in:
RuoYi 2021-07-25 20:05:18 +08:00
parent 97ae0eb7c7
commit c26d87c677

View File

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