From 25f42831b4cbfa9e225977642f42995deba9cdad Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 21 Dec 2023 09:46:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E6=9C=9F=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/Component.vue | 2 ++ .../v-query/QueryConditionConfiguration.vue | 8 ++++---- core/core-frontend/src/hooks/web/useFilter.ts | 13 ++++++++++++- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index b7d5b21704..c50df58029 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -212,6 +212,8 @@ const infoFormat = (obj: ComponentInfo) => { timeNum: 0, relativeToCurrentType: 'year', around: 'f', + parametersStart: null, + parametersEnd: null, arbitraryTime: new Date(), timeNumRange: 0, relativeToCurrentTypeRange: 'year', diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue index fad774b203..f397aca6ec 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -478,6 +478,8 @@ const parameterCompletion = () => { const attributes = { timeType: 'fixed', required: false, + parametersStart: null, + parametersEnd: null, relativeToCurrent: 'custom', timeNum: 0, relativeToCurrentType: 'year', @@ -1184,8 +1186,7 @@ defineExpose({