diff --git a/packages/client/src/schema-component/antd/filter/useFilterActionProps.ts b/packages/client/src/schema-component/antd/filter/useFilterActionProps.ts index a7d96011b..4866d3877 100644 --- a/packages/client/src/schema-component/antd/filter/useFilterActionProps.ts +++ b/packages/client/src/schema-component/antd/filter/useFilterActionProps.ts @@ -60,8 +60,7 @@ const isEmpty = (obj) => { }; const removeNullCondition = (filter) => { - const items = flat(filter); - console.log('filter', items); + const items = flat(filter || {}); const values = {}; for (const key in items) { const value = items[key];