Przeglądaj źródła

fix:报告看见分类

zqbao 3 miesięcy temu
rodzic
commit
1457e7528a
1 zmienionych plików z 1 dodań i 0 usunięć
  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)
 		}