From b8b2820d1a0a55a5555434a3ec95f8bbec1db06d Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 14 十二月 2023 15:22:54 +0800 Subject: [PATCH] 1.飞行巡检和审核辅助页面中的对话框写成组件 2.增加了数据请求和异常分析配置参数的可视化页面 3.修改了站点输入框,使能够模糊匹配 --- src/utils/exception_common_function/index.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/utils/exception_common_function/index.js b/src/utils/exception_common_function/index.js index 0311b9b..3e40bbb 100644 --- a/src/utils/exception_common_function/index.js +++ b/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'); } -- Gitblit v1.9.3