From 9199a30cc7b1b843e89260b99656ab6a8c008c35 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 20 Dec 2023 14:20:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E5=8A=A8=E6=80=81=E6=97=B6=E9=97=B4=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E6=B2=A1=E6=9C=89=E9=9A=8F=E6=97=B6=E9=97=B4=E6=8E=A8?= =?UTF-8?q?=E7=A7=BB=E8=80=8C=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/hooks/web/useFilter.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/core-frontend/src/hooks/web/useFilter.ts b/core/core-frontend/src/hooks/web/useFilter.ts index 4deea7e0f5..c051d45d1c 100644 --- a/core/core-frontend/src/hooks/web/useFilter.ts +++ b/core/core-frontend/src/hooks/web/useFilter.ts @@ -100,12 +100,7 @@ export const searchQuery = (queryComponentList, filter, curComponentId, firstLoa displayType, multiple } = item - if ( - timeType === 'dynamic' && - [1, 7].includes(+displayType) && - firstLoad && - !value?.length - ) { + if (timeType === 'dynamic' && [1, 7].includes(+displayType) && firstLoad) { if (+displayType === 1) { selectValue = getDynamicRange(item) item.defaultValue = new Date(selectValue[0])