mirror of https://gitee.com/stylefeng/roses
【7.6.0】【menu】后台菜单新增和编辑取消校验component路径
parent
495dfe2d27
commit
47dcf031a3
|
@ -55,9 +55,6 @@ public class MenuValidateFactory {
|
||||||
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvRouter())) {
|
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvRouter())) {
|
||||||
throw new ServiceException(SysMenuExceptionEnum.URL_CANT_EMPTY);
|
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())) {
|
if (ObjectUtil.isEmpty(sysMenuRequest.getAntdvVisible())) {
|
||||||
throw new ServiceException(SysMenuExceptionEnum.HIDDEN_FLAG_CANT_EMPTY);
|
throw new ServiceException(SysMenuExceptionEnum.HIDDEN_FLAG_CANT_EMPTY);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue