mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:15:11 +00:00
fix: rowSelection undefined (#2071)
This commit is contained in:
parent
6d0f5c1fe0
commit
50865d76bc
@ -222,7 +222,7 @@ export const Table: any = observer((props: any) => {
|
||||
const [selectedRowKeys, setSelectedRowKeys] = useState<any[]>(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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user