提交: 环比同比,图标数据反了问题

This commit is contained in:
23688nl 2022-10-28 11:22:07 +08:00
parent 8049503c09
commit 509576962e
2 changed files with 4 additions and 4 deletions

View File

@ -168,8 +168,8 @@ export default {
if (list && list.length > 0) { if (list && list.length > 0) {
list.forEach((v) => { list.forEach((v) => {
xAxis.push(v["date"]); xAxis.push(v["date"]);
seriesFast.push(v["currentPeriodValue"]); seriesFast.push(v["homochronousValue"]);
seriesLast.push(v["homochronousValue"]); seriesLast.push(v["currentPeriodValue"]);
}); });
} else { } else {
for (let i = 0; i < 12; i++) { for (let i = 0; i < 12; i++) {

View File

@ -158,8 +158,8 @@ export default {
if (list && list.length > 0) { if (list && list.length > 0) {
list.forEach((v) => { list.forEach((v) => {
xAxis.push(v["date"]); xAxis.push(v["date"]);
seriesFast.push(v["currentPeriodValue"]); seriesFast.push(v["homochronousValue"]);
seriesLast.push(v["homochronousValue"]); seriesLast.push(v["currentPeriodValue"]);
}); });
} else { } else {
for (let i = 0; i < 12; i++) { for (let i = 0; i < 12; i++) {