Roc 2 éve
szülő
commit
e13b29c04f
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      controllers/chart.go

+ 1 - 2
controllers/chart.go

@@ -152,7 +152,7 @@ func (this *ChartController) ChartInfoDetail() {
 		item.EdbCode = v.EdbCode
 		item.EdbName = v.EdbName
 		item.Frequency = v.Frequency
-		//item.Unit = v.Unit
+		item.Unit = v.Unit
 		item.StartDate = v.StartDate
 		item.EndDate = v.EndDate
 		//item.ModifyTime = v.ModifyTime
@@ -169,7 +169,6 @@ func (this *ChartController) ChartInfoDetail() {
 		item.ChartStyle = v.ChartStyle
 		item.ChartColor = v.ChartColor
 		item.ChartWidth = v.ChartWidth
-		item.Unit = v.Unit
 
 		var startDateReal string
 		var diffSeconds int64