From 30647235434976751d00a3c550b0222c95a489d9 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 28 Nov 2024 10:08:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E5=90=8E=EF=BC=8C=E9=99=90=E5=88=B6=E5=8D=95?= =?UTF-8?q?=E6=AC=A1=E6=9F=A5=E8=AF=A2=E6=9C=80=E5=A4=9A3=E6=97=A5?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E6=98=AF=E5=AE=9E=E9=99=85=E6=B8=B2=E6=9F=93?= =?UTF-8?q?=E7=9A=84=E8=8C=83=E5=9B=B4=E6=8E=A7=E4=BB=B6=E4=B8=8A=20?= =?UTF-8?q?=E5=8F=AA=E9=99=90=E5=88=B6=E4=BA=86=E5=90=91=E5=90=8E=E9=80=89?= =?UTF-8?q?=E6=8B=A9=EF=BC=8C=E5=90=91=E5=89=8D=E8=BF=98=E6=98=AF=E8=83=BD?= =?UTF-8?q?=E8=B7=A8=E8=B6=8A=E9=80=89=E6=8B=A9=E5=BE=88=E5=A4=9A=E5=A4=A9?= =?UTF-8?q?=20#13533?= 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 | 8 +++++++- 1 file changed, 7 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 cf9eac8136..71bb08092c 100644 --- a/core/core-frontend/src/custom-component/v-query/Time.vue +++ b/core/core-frontend/src/custom-component/v-query/Time.vue @@ -268,7 +268,13 @@ const disabledDate = val => { .startOf(queryTimeType.value) .valueOf() - 1000 < - timeStamp + timeStamp || + dayjs(startWindowTime.value) + .subtract(maximumSingleQuery, queryTimeType.value) + .startOf(queryTimeType.value) + .valueOf() + + 1000 > + timeStamp } if (intervalType === 'none') { if (dynamicWindow) return isDynamicWindowTime