mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 13:03:43 +08:00
refactor(SysMenuServiceImpl.java): 代码重复
This commit is contained in:
parent
9d05d272ab
commit
b80a6e28a6
@ -132,7 +132,6 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|||||||
routeVO.setPath(menu.getPath()); // 根据path路由跳转 this.$router.push({path:xxx})
|
routeVO.setPath(menu.getPath()); // 根据path路由跳转 this.$router.push({path:xxx})
|
||||||
routeVO.setRedirect(menu.getRedirect());
|
routeVO.setRedirect(menu.getRedirect());
|
||||||
routeVO.setComponent(menu.getComponent());
|
routeVO.setComponent(menu.getComponent());
|
||||||
routeVO.setRedirect(menu.getRedirect());
|
|
||||||
|
|
||||||
RouteVO.Meta meta = new RouteVO.Meta();
|
RouteVO.Meta meta = new RouteVO.Meta();
|
||||||
meta.setTitle(menu.getName());
|
meta.setTitle(menu.getName());
|
||||||
|
Loading…
Reference in New Issue
Block a user