diff --git a/src/main/java/com/ruoyi/project/system/dept/service/DeptServiceImpl.java b/src/main/java/com/ruoyi/project/system/dept/service/DeptServiceImpl.java index 99ae2b37b..f684a2256 100644 --- a/src/main/java/com/ruoyi/project/system/dept/service/DeptServiceImpl.java +++ b/src/main/java/com/ruoyi/project/system/dept/service/DeptServiceImpl.java @@ -53,6 +53,7 @@ public class DeptServiceImpl implements IDeptService deptMap.put("id", dept.getDeptId()); deptMap.put("pId", dept.getParentId()); deptMap.put("name", dept.getDeptName()); + deptMap.put("title", dept.getDeptName()); trees.add(deptMap); } }