diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 8256576c8..8b0acf8e9 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -537,11 +537,14 @@ const opensearchTable = ( return } } - filters.push({ - action: searchCondition[i].action, - column: searchCondition[i].key, - value: formRef.value.formModel[searchCondition[i].value] - }) + if(formRef.value.formModel[searchCondition[i].value]){ + filters.push({ + action: searchCondition[i].action, + column: searchCondition[i].key, + value: formRef.value.formModel[searchCondition[i].value] + }) + } + } else { filters.push({ action: searchCondition[i].action,