diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx index 3bc128454..e88b5491a 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx @@ -222,7 +222,7 @@ export const Table: any = observer((props: any) => { const [selectedRowKeys, setSelectedRowKeys] = useState(field?.data?.selectedRowKeys || []); const [selectedRow, setSelectedRow] = useState([]); const dataSource = field?.value?.slice?.()?.filter?.(Boolean) || []; - const isRowSelect = rowSelection.type !== 'none'; + const isRowSelect = rowSelection?.type !== 'none'; let onRow = null, highlightRow = '';