소스 검색

fix:报告看见分类

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)
 		}