李白
3 天以前 dfcd8b37f532ef54b259c1e716e7a2660951ae57
platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/service/impl/ProductServiceImpl.java
@@ -57,7 +57,7 @@
            node.setId(product.getId());
            node.setName(product.getProductName());
            node.setParentId(product.getParentId());
            node.setWeight(product.getParentId());
            //node.setWeight(product.getParentId());
            // 扩展属性
            Map<String, Object> extra = new HashMap<>();
//            extra.put("picPath", category.getPicPath());
@@ -68,11 +68,11 @@
            // 适配 vue3
            Map<String, Object> meta = new HashMap<>();
            meta.put("title", product.getProductName());
            meta.put("icon", product.getPrice());
           /* meta.put("title", product.getProductName());
            meta.put("icon", product.getPrice());*/
            extra.put("meta", meta);
            node.setExtra(extra);
            //extra.put("meta", meta);
            //node.setExtra(extra);
            return node;
        };
    }