zqbao преди 3 месеца
родител
ревизия
1457e7528a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      services/report_open.go

+ 1 - 0
services/report_open.go

@@ -22,6 +22,7 @@ func GetReportClassifyTreeRecursive(list []*models.Classify, parentId int) []*mo
 			t.Sort = v.Sort
 			t.Level = v.Level
 			t.ClassifyType = v.ClassifyType
+			t.HasChild = v.HasChild
 			t.Children = GetReportClassifyTreeRecursive(list, v.Id)
 			res = append(res, t)
 		}