优化图表大小及描述
This commit is contained in:
@@ -117,8 +117,8 @@
|
||||
const monthAmountMap = new Map<string, number>();
|
||||
|
||||
sourceData.value.forEach((item) => {
|
||||
if (!item.signDate) return;
|
||||
const date = new Date(item.signDate);
|
||||
if (!item.createTime) return;
|
||||
const date = new Date(item.createTime);
|
||||
if (Number.isNaN(date.getTime())) return;
|
||||
const monthLabel = `${date.getMonth() + 1}月`;
|
||||
monthOrderMap.set(monthLabel, date.getMonth() + 1);
|
||||
|
||||
Reference in New Issue
Block a user