[儀錶板] dashboard 昨日與今日順序調整
This commit is contained in:
parent
e7ac166ffe
commit
8372e3bb2c
@ -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,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user