From 919289c5caa5288680dd0e20ea4e0030646acb39 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Thu, 20 Mar 2025 14:51:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E6=98=BE=E7=A4=BA=E5=8D=B3=E5=B0=86=E5=88=B0?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/components/SearchBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/SearchBox.vue b/resources/assets/js/components/SearchBox.vue index eb9889025..d60d104eb 100755 --- a/resources/assets/js/components/SearchBox.vue +++ b/resources/assets/js/components/SearchBox.vue @@ -351,7 +351,7 @@ export default { name: this.$L('超期'), style: 'background-color:#f00', }) - } else if ($A.dayjs(item.end_at).unix() - nowTime < 86400) { + } else if (item.end_at && $A.dayjs(item.end_at).unix() - nowTime < 86400) { tags.push({ name: this.$L('即将到期'), style: 'background-color:#f80',