潘志宝
2024-12-24 9b445c66fcc4b5870476a591c006d665f08ba915
iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/convert/auth/AuthConvert.java
@@ -208,7 +208,10 @@
        List<AuthPermissionInfoRespVO.MenuVO> menuVOS = filterList(treeNodeMap.values(), node -> id.equals(node.getParentId()));
        if(type == 0) {
            menuVOS.stream().forEach(menuVO -> {
                menuVO.setPath((parentPath + "/" + menuVO.getPath()).replace("//", "/"));
                // 不处理外链菜单path
                if(!menuVO.getPath().contains("http:") && !menuVO.getPath().contains("https:")) {
                    menuVO.setPath((parentPath + "/" + menuVO.getPath()).replace("//", "/"));
                }
            });
        }
        return menuVOS;