【8.0】【menu】后台菜单编辑和新增不校验component,因为可能是父级菜单

pull/57/head
fengshuonan 2023-07-17 11:22:59 +08:00
parent 095645d55b
commit 83d3b04095
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}