From a969126ac530da96b1edb02152db87f0ad317f6e Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 13:20:17 +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