From e67bc7aaa7068d1cdbaab911ccd4aa8dde5a618d Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 17 Aug 2023 18:14:50 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3072=20fix=EF=BC=9AMessages=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E7=AC=AC=E4=BA=8C=E6=AC=A1=E7=82=B9=E5=87=BB?= =?UTF-8?q?All=20time=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/pickTime.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nezha-fronted/src/components/common/pickTime.vue b/nezha-fronted/src/components/common/pickTime.vue index b4e7c92db..dad9eb56c 100644 --- a/nezha-fronted/src/components/common/pickTime.vue +++ b/nezha-fronted/src/components/common/pickTime.vue @@ -148,6 +148,9 @@ export default { if (timeRange && timeRange.length < 2) { return [] } + if (!timeRange[0]) { + return [] + } const startTime = bus.timeFormate(timeRange[0], this.pickTimer) const endTime = bus.timeFormate(timeRange[1], this.pickTimer) const timeType = timeRange[2]