Przeglądaj źródła

fix:相关性0坐标处的位置

Roc 2 lat temu
rodzic
commit
85c4b82cf7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      services/data/correlation/chart_info.go

+ 1 - 1
services/data/correlation/chart_info.go

@@ -277,7 +277,7 @@ func GetChartDataByEdbInfo(edbInfoMappingA, edbInfoMappingB *models.ChartEdbInfo
 			changeDataList = tmpNewChangeDataList
 		} else {
 			changeDataList = bDataList
-			for _, v := range baseDataList {
+			for _, v := range bDataList {
 				changeDataMap[v.DataTime] = v.Value
 			}
 		}