Pre Merge pull request !201 from 我是阿志吖/master-jdk17

pull/201/MERGE
我是阿志吖 2025-08-04 05:01:17 +00:00 committed by Gitee
commit 120190bd84
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 4 deletions

View File

@ -278,10 +278,6 @@ public class MenuServiceImpl implements MenuService {
if (menu == null) {
return;
}
// 如果 id 为空,说明不用比较是否为相同 id 的菜单
if (id == null) {
return;
}
if (!menu.getId().equals(id)) {
throw exception(MENU_COMPONENT_NAME_DUPLICATE);
}