src/utils/exception_common_function/index.js
@@ -77,7 +77,7 @@ */ diffFiftyMinutesNum(beginNormal, endNormal) { // 将开始时间和结束时间转换为dayjs对象 const start = dayjs(beginNormal).subtract(15, 'minute'); const start = dayjs(beginNormal) const end = dayjs(endNormal); // 计算结束时间减去开始时间中间相差多少个十分钟 @@ -116,9 +116,8 @@ let obj = {}; let current = intervalStarTime; let tail = dayjs(intervalEndTime) .add(15, 'minute') .format('YYYY-MM-DD HH:mm:ss'); while (current != tail) { while (current <= tail) { let value = this.findTimeInExceptionData( headAndTailExceptionData, current