diff --git a/src/views/iot/statistics/chain/template.vue b/src/views/iot/statistics/chain/template.vue index 1db1dd9e..8fa5c976 100644 --- a/src/views/iot/statistics/chain/template.vue +++ b/src/views/iot/statistics/chain/template.vue @@ -168,8 +168,8 @@ export default { if (list && list.length > 0) { list.forEach((v) => { xAxis.push(v["date"]); - seriesFast.push(v["currentPeriodValue"]); - seriesLast.push(v["homochronousValue"]); + seriesFast.push(v["homochronousValue"]); + seriesLast.push(v["currentPeriodValue"]); }); } else { for (let i = 0; i < 12; i++) { diff --git a/src/views/iot/statistics/compared/profile/template.vue b/src/views/iot/statistics/compared/profile/template.vue index b96b982a..ea4dc812 100644 --- a/src/views/iot/statistics/compared/profile/template.vue +++ b/src/views/iot/statistics/compared/profile/template.vue @@ -158,8 +158,8 @@ export default { if (list && list.length > 0) { list.forEach((v) => { xAxis.push(v["date"]); - seriesFast.push(v["currentPeriodValue"]); - seriesLast.push(v["homochronousValue"]); + seriesFast.push(v["homochronousValue"]); + seriesLast.push(v["currentPeriodValue"]); }); } else { for (let i = 0; i < 12; i++) {