This commit is contained in:
dev02 2023-07-13 12:46:51 +08:00
commit 06ad469031

View File

@ -655,7 +655,7 @@
pointColor: color.success._500, pointColor: color.success._500,
pointBackgroundColor: color.main1, pointBackgroundColor: color.main1,
data: todayData?.data.map((x) => x.sum), data: todayData?.data.map((x) => x.sum),
order: 1, order: 2,
}, },
{ {
id: "yesterday", id: "yesterday",
@ -667,7 +667,7 @@
pointColor: color.info._100, pointColor: color.info._100,
pointBackgroundColor: color.info._100, pointBackgroundColor: color.info._100,
data: yesData?.data.map((x) => x.sum), data: yesData?.data.map((x) => x.sum),
order: 2, order: 1,
}, },
], ],
}; };
@ -743,7 +743,7 @@
pointColor: color.success._500, pointColor: color.success._500,
pointBackgroundColor: color.success._500, pointBackgroundColor: color.success._500,
data: curWeekData.map((x) => x.sum), data: curWeekData.map((x) => x.sum),
order: 1, order: 2,
}, },
{ {
id: "yesterday", id: "yesterday",
@ -755,7 +755,7 @@
pointColor: color.info._100, pointColor: color.info._100,
pointBackgroundColor: color.info._100, pointBackgroundColor: color.info._100,
data: prevWeekData.map((x) => x.sum), data: prevWeekData.map((x) => x.sum),
order: 2, order: 1,
}, },
], ],
}; };