diff --git a/packages/li-p2/src/components/Formily/FieldSelect/index.tsx b/packages/li-p2/src/components/Formily/FieldSelect/index.tsx index 1b8e33ba..99f4c9cc 100644 --- a/packages/li-p2/src/components/Formily/FieldSelect/index.tsx +++ b/packages/li-p2/src/components/Formily/FieldSelect/index.tsx @@ -6,7 +6,7 @@ import React from 'react'; import InternalSelect from './Select'; import type { FieldSelectOptionType } from './Select/types'; -const FieldSelect: ReactFC> = connect( +const FieldSelect: ReactFC> = connect( InternalSelect, mapProps( { diff --git a/packages/li-p2/src/components/Formily/FilterConfiguration/FilterModal/FilterContent/index.tsx b/packages/li-p2/src/components/Formily/FilterConfiguration/FilterModal/FilterContent/index.tsx index 5dad4c34..bf3e4bc9 100644 --- a/packages/li-p2/src/components/Formily/FilterConfiguration/FilterModal/FilterContent/index.tsx +++ b/packages/li-p2/src/components/Formily/FilterConfiguration/FilterModal/FilterContent/index.tsx @@ -32,7 +32,7 @@ const FilterContent: React.FC = (props) => { const openFieldSelect = outterValue.field ? false : true; // 筛选字段变更 - const onFieldChange = (field: string) => { + const onFieldChange = (field: string | string[]) => { const _field = options.find((item) => item.value === field); if (_field) { setDomain(_field?.domain ?? []);