Explorar o código

季节性图修改春节对齐不生效

xiziwen hai 2 meses
pai
achega
158839eaea
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      services/data/chart_info.go

+ 2 - 0
services/data/chart_info.go

@@ -2881,6 +2881,8 @@ func EditChartInfo(req data_manage.EditChartInfoReq, sysUser *system.Admin, lang
 		if chartItem.ChartType == 2 && chartItem.DateType <= 0 {
 			dateType = 3
 		}
+	} else {
+		calendar = req.Calendar
 	}
 	sort.Ints(edbInfoIdArr)
 	var edbInfoIdArrStr []string