diff --git a/packages/antd/src/select-table/index.tsx b/packages/antd/src/select-table/index.tsx index 54c25d0b985..a977ebf1b01 100644 --- a/packages/antd/src/select-table/index.tsx +++ b/packages/antd/src/select-table/index.tsx @@ -27,7 +27,7 @@ export interface ISelectTableProps extends TableProps { mode?: 'multiple' | 'single' dataSource?: any[] optionAsValue?: boolean - valueType: 'all' | 'parent' | 'child' | 'path' + valueType?: 'all' | 'parent' | 'child' | 'path' showSearch?: boolean searchProps?: SearchProps primaryKey?: string | ((record: any) => string) diff --git a/packages/next/src/select-table/index.tsx b/packages/next/src/select-table/index.tsx index f886a992d87..3e0fcbfc2ef 100644 --- a/packages/next/src/select-table/index.tsx +++ b/packages/next/src/select-table/index.tsx @@ -26,7 +26,7 @@ export interface ISelectTableProps mode?: 'multiple' | 'single' dataSource?: any[] optionAsValue?: boolean - valueType: 'all' | 'parent' | 'child' | 'path' + valueType?: 'all' | 'parent' | 'child' | 'path' showSearch?: boolean searchProps?: SearchProps primaryKey?: string | ((record: any) => string)