111
k94314517
2023-10-16 ca73a173f008c8d7a9d700bad897ca24fe2d2203
server/src/main/java/doumeemes/biz/system/impl/SystemMenuBizImpl.java
@@ -158,6 +158,7 @@
                nodeVO.setIndex("menu_" + menu.getId());
                nodeVO.setLabel(menu.getName());
                nodeVO.setUrl(menu.getPath());
                nodeVO.setUrlSec(menu.getPathSec());
                nodeVO.setIcon(menu.getIcon());
                nodeVO.setChildren(new ArrayList<>());
                rootNodes.add(nodeVO);
@@ -182,7 +183,7 @@
            if (menu == null) {
                continue;
            }
            if (menu.getFixed()) {
            if (menu.getFixed() !=null && menu.getFixed()) {
                throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(), "请勿删除" + menu.getName() + ", 因为这是固定菜单");
            }
        }
@@ -245,6 +246,7 @@
                child.setId(menu.getId());
                child.setLabel(menu.getName());
                child.setUrl(menu.getPath());
                child.setUrlSec(menu.getPathSec());
                child.setIcon(menu.getIcon());
                child.setIndex("menu_" + menu.getId());
                child.setChildren(new ArrayList<>());