refactor(SysMenuServiceImpl.java): 代码重复

This commit is contained in:
郝先瑞 2022-07-10 15:15:49 +08:00
parent 9d05d272ab
commit b80a6e28a6

View File

@ -132,7 +132,6 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
routeVO.setPath(menu.getPath()); // 根据path路由跳转 this.$router.push({path:xxx})
routeVO.setRedirect(menu.getRedirect());
routeVO.setComponent(menu.getComponent());
routeVO.setRedirect(menu.getRedirect());
RouteVO.Meta meta = new RouteVO.Meta();
meta.setTitle(menu.getName());