From dbf7dd5e1233b5cc0b111a2c4874bab13563e121 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 8 Nov 2024 11:32:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E5=90=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E4=B8=AD=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=B8=A4=E4=B8=AA=E6=95=B0=E6=8D=AE=E9=9B=86=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9F=A5=E8=AF=A2=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v-query/QueryConditionConfiguration.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 8f14c3a169..fdda5d03b5 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -684,13 +684,13 @@ const setParameters = field => { Object.values(field?.fields || {}) .flat() .filter(ele => fieldArr.includes(ele.id) && !!ele.variableName) + .concat(curComponent.value.parameters.filter(ele => fieldArr.includes(ele.id))) ) nextTick(() => { if (isTimeParameter.value) { + const timeParameter = curComponent.value.parameters.find(ele => ele.deType === 1) curComponent.value.timeGranularity = - typeTimeMap[ - curComponent.value.parameters[0].type[1] || curComponent.value.parameters[0].type[0] - ] + typeTimeMap[timeParameter.type[1] || timeParameter.type[0]] curComponent.value.displayType = '1' }