CN-1185: 趋势图展示的数据与悬浮框中的数据不符

This commit is contained in:
刘洪洪
2023-08-01 18:34:30 +08:00
parent 0b36afdbe3
commit a0eeeaeac8
7 changed files with 12 additions and 0 deletions

View File

@@ -178,6 +178,8 @@ export default {
}
this.chartOption = npmLineChartOption
this.chartOption.color = this.chartData.params.color
this.chartOption.color = this.chartOption.color.reverse()
data = data.reverse()
this.chartOption.series = data.map((t, i) => {
return {