Browse Source

fix:报告看见分类

zqbao 3 months ago
parent
commit
1457e7528a
1 changed files with 1 additions and 0 deletions
  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)
 		}