diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/items/CustomFilterFormItemInitializer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/items/CustomFilterFormItemInitializer.tsx index 30f4c631c..1f82188ca 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/items/CustomFilterFormItemInitializer.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/items/CustomFilterFormItemInitializer.tsx @@ -353,7 +353,7 @@ export const FilterItemCustomDesigner: React.FC = () => { {component === 'Select' || component === 'AutoComplete' ? : null} {component === 'Select' || component === 'AutoComplete' ? : null} {component === 'Select' || component === 'AutoComplete' ? : null} - + {component === 'Select' || component === 'AutoComplete' ? : null} { // FIXME 这里现在只有当设置为 select,默认为 select 的时候看不到 return ( options.length > 0 && - fieldSchema['x-component-props']?.mode === 'Select' && - fieldSchema['x-component-props']?.fieldNames?.value !== undefined && - fieldSchema['x-component'] === 'CollectionField' + (fieldSchema['x-component-props']?.mode === 'Select' || fieldSchema['x-component'] === 'CollectionField') && + fieldSchema['x-component-props']?.fieldNames?.value !== undefined ); };