lyhzzz 2 năm trước cách đây
mục cha
commit
b8ec540391

+ 1 - 1
src/main/java/com/cdf/controller/back/SysDeptController.java

@@ -113,7 +113,7 @@ public class SysDeptController extends BaseLogController{
 
 
             Dept deptt = deptService.getById(1);
             Dept deptt = deptService.getById(1);
             BeanUtils.copyProperties(deptt,vot);
             BeanUtils.copyProperties(deptt,vot);
-            vot.setHasChildren(0);
+            vot.setHasChildren(1);
             vot.setChildren(Arrays.asList(vo));
             vot.setChildren(Arrays.asList(vo));
             return ResultData.ok(Arrays.asList(vot));
             return ResultData.ok(Arrays.asList(vot));
         }
         }