mirror of https://gitee.com/stylefeng/roses
【8.0】【menu】后台菜单编辑和新增不校验component,因为可能是父级菜单
parent
095645d55b
commit
83d3b04095
|
@ -55,9 +55,6 @@ public class MenuValidateFactory {
|
|||
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvRouter())) {
|
||||
throw new ServiceException(SysMenuExceptionEnum.URL_CANT_EMPTY);
|
||||
}
|
||||
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvComponent())) {
|
||||
throw new ServiceException(SysMenuExceptionEnum.COMPONENT_PATH_CANT_EMPTY);
|
||||
}
|
||||
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvVisible())) {
|
||||
throw new ServiceException(SysMenuExceptionEnum.HIDDEN_FLAG_CANT_EMPTY);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue