From ddb73272a11667d56b1f7bdc1f0ce9917b930d04 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 14 Oct 2025 14:03:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E7=BB=84=E4=BB=B6=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E8=8C=83=E5=9B=B4-=E5=8C=BA=E9=97=B4=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=BA=E5=BC=80=E5=A7=8B=E4=BA=8E=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=A2=AB=E9=80=89=E9=A1=B9=E4=B8=AD=E7=9A=84=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Time.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/v-query/Time.vue b/core/core-frontend/src/custom-component/v-query/Time.vue index 5322378bf8..5a9dbe9561 100644 --- a/core/core-frontend/src/custom-component/v-query/Time.vue +++ b/core/core-frontend/src/custom-component/v-query/Time.vue @@ -345,7 +345,10 @@ const disabledDate = val => { const startValue = regularOrTrends === 'fixed' ? regularOrTrendsValue : startTime if (intervalType === 'start') { - return timeStamp < +new Date(startValue) || isDynamicWindowTime + return ( + timeStamp < +new Date(dayjs(startValue).startOf('day').format('YYYY/MM/DD HH:mm:ss')) || + isDynamicWindowTime + ) } if (intervalType === 'end') {