fix: 工具方法打印排查问题

This commit is contained in:
chenjinsong
2023-10-30 10:33:53 +08:00
parent 6c5233a760
commit 186e115adf

View File

@@ -121,6 +121,7 @@ export function xAxisTimeFormatter (value) {
':' +
(date.getMinutes() < 10 ? `0${date.getMinutes()}` : date.getMinutes())
// 如果是一天的开始
console.info(date, dayStart, hourStart, HHmm)
if (date.getTime() === dayStart.getTime()) {
return '{day|' + dateFormat(date, 'YYYY-MM-DD') + '}'
} else if (date.getTime() === hourStart.getTime()) {