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 57ed61c35b..b5f4372e8d 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -130,9 +130,10 @@ const showTypeError = computed(() => { if (!curComponent.value) return false if (!curComponent.value.checkedFields?.length) return false if (!fields.value?.length) return false - if (!!curComponent.value.parameters.length) { + if (!!curComponent.value.parameters.length && isTimeParameter.value) { const timeArr = curComponent.value.parameters.map(ele => ele.type[1]) - if (timeArr.length !== new Set(timeArr).size) { + const [typeOne] = timeArr + if (timeArr.some(ele => ele !== typeOne)) { return true } }