Browse Source

筛选接口传value为空问题的代码维护

hella_online_20240828
wangyufei 3 months ago
parent
commit
a69c8c46f2
  1. 3
      src/components/BasicForm/src/BasicForm.vue

3
src/components/BasicForm/src/BasicForm.vue

@ -537,11 +537,14 @@ const opensearchTable = (
return return
} }
} }
if(formRef.value.formModel[searchCondition[i].value]){
filters.push({ filters.push({
action: searchCondition[i].action, action: searchCondition[i].action,
column: searchCondition[i].key, column: searchCondition[i].key,
value: formRef.value.formModel[searchCondition[i].value] value: formRef.value.formModel[searchCondition[i].value]
}) })
}
} else { } else {
filters.push({ filters.push({
action: searchCondition[i].action, action: searchCondition[i].action,

Loading…
Cancel
Save