hsun 5 сар өмнө
parent
commit
ef6530b3a2

+ 1 - 0
controllers/data_manage/chart_theme.go

@@ -234,6 +234,7 @@ func (c *ChartThemeController) GetThemePreviewData() {
 	yearMax := 0
 	if dateType == utils.DateTypeNYears {
 		for _, v := range mappingList {
+			v.ConvertToResp()
 			if v.LatestDate != "" {
 				lastDateT, tErr := time.Parse(utils.FormatDate, v.LatestDate)
 				if tErr != nil {