riku
2023-12-21 c24a5a2a99515b365ebc343b04538bb862790de1
src/utils/exception_common_function/index.js
@@ -1,5 +1,9 @@
import dayjs from 'dayjs'
export default  {
    /**
     * description:返回时间数组,间隔15分钟。
     * @param: 异常的开始,异常结束时间
@@ -14,7 +18,7 @@
        }
        time.push(begin);
        let temp = dayjs(begin).add(15, 'minute').format('YYYY-MM-DD HH:mm:ss');
        while (temp != end) {
        while (temp >= end) {
          time.push(temp);
          temp = dayjs(temp).add(15, 'minute').format('YYYY-MM-DD HH:mm:ss');
        }