|
@@ -163,7 +163,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
|
|
|
router.setHidden("1".equals(menu.getVisible()));
|
|
|
router.setName(menu.getRouteName());
|
|
|
router.setPath(menu.getRouterPath());
|
|
|
- router.setComponent(menu.getComponent());
|
|
|
+ router.setComponent(menu.getComponentInfo());
|
|
|
router.setQuery(menu.getQueryParam());
|
|
|
router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
|
|
|
List<SysMenu> cMenus = menu.getChildren();
|
|
@@ -176,7 +176,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
|
|
|
List<RouterVo> childrenList = new ArrayList<>();
|
|
|
RouterVo children = new RouterVo();
|
|
|
children.setPath(menu.getPath());
|
|
|
- children.setComponent(menu.getComponent());
|
|
|
+ children.setComponent(menu.getComponentInfo());
|
|
|
children.setName(StringUtils.capitalize(menu.getPath()));
|
|
|
children.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
|
|
|
children.setQuery(menu.getQueryParam());
|