[儀錶板] dashboard 昨日與今日順序調整

This commit is contained in:
dev01 2023-07-13 11:16:56 +08:00
parent 1bc6a04d65
commit 90782a4c8a

View File

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