From 2e50bfe8a559eeb7978d2b4f9af33780f75ed82f Mon Sep 17 00:00:00 2001 From: wyx Date: Mon, 20 Feb 2023 20:46:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=A1=B9=E7=9B=AE=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=99=90=E5=88=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectcenter/ProjectAdd.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/projectcenter/ProjectAdd.vue b/src/views/projectcenter/ProjectAdd.vue index 6833149f..e0fa3030 100644 --- a/src/views/projectcenter/ProjectAdd.vue +++ b/src/views/projectcenter/ProjectAdd.vue @@ -102,7 +102,7 @@ dayjs(state.timeRange[0]).endOf("YYYY-MM-DD HH:mm"); } - return current && current < dayjs().endOf('day'); + // return current && current < dayjs().endOf('day'); + return current && current < dayjs().subtract(1, 'days').endOf('day') }; function calendarChange(date, dateStr, partial) {