diff --git a/src/utils/date-util.js b/src/utils/date-util.js index 281593e8..93f99872 100644 --- a/src/utils/date-util.js +++ b/src/utils/date-util.js @@ -122,7 +122,7 @@ export function xAxisTimeFormatter (value) { (date.getMinutes() < 10 ? `0${date.getMinutes()}` : date.getMinutes()) // 如果是一天的开始 if (date.getTime() === dayStart.getTime()) { - return '{day|' + dateFormat(date, 'YYYY-MM-DD\nHH:mm') + '}' + return '{day|' + dateFormat(date, 'YYYY-MM-DD') + '}' } else if (date.getTime() === hourStart.getTime()) { return '{hour|' + HHmm + '}' } else {