fix: 去掉部分控制台打印

(cherry picked from commit a4da1dbfac)
This commit is contained in:
chenjinsong
2023-10-30 15:38:07 +08:00
committed by 陈劲松
parent 89294c98e1
commit 541692f50f
2 changed files with 0 additions and 3 deletions

View File

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