From 509576962e88bdad462a201b52e04788ca8869a1 Mon Sep 17 00:00:00 2001 From: 23688nl <329261568@qq.com> Date: Fri, 28 Oct 2022 11:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A=20=E7=8E=AF?= =?UTF-8?q?=E6=AF=94=E5=90=8C=E6=AF=94=EF=BC=8C=E5=9B=BE=E6=A0=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8F=8D=E4=BA=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iot/statistics/chain/template.vue | 4 ++-- src/views/iot/statistics/compared/profile/template.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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++) {