liuleilei
2023-08-14 10296eb0cf28037964ce9e6371cf6f38dd45682f
server/src/main/java/doumeemes/biz/system/impl/SystemMenuBizImpl.java
@@ -114,6 +114,7 @@
        for (SystemMenu menu : menus) {
            if(Constants.equalsInteger(menu.getType(),Constants.PlatType.companyH5) && StringUtils.isNotBlank(menu.getIcon())){
                menu.setIcon(rPath+menu.getIcon());
                menu.setResourcePath(rPath);
            }
            if (menu.getParentId() == null) {
                SystemMenuListVO rootMenu = new SystemMenuListVO();
@@ -126,6 +127,7 @@
        for (SystemMenuListVO child : rootMenus) {
            if(Constants.equalsInteger(child.getType(),Constants.PlatType.companyH5) && StringUtils.isNotBlank(child.getIcon())){
                child.setIcon(rPath+child.getIcon());
                child.setResourcePath(rPath);
            }
            this.fillChildren(child, menus);
        }