mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:38:13 +00:00
fix: fix Pagination (#3921)
This commit is contained in:
parent
1ec5c1c9c2
commit
0a64855bfe
@ -46,7 +46,7 @@ export const useTableBlockProps = () => {
|
||||
showIndex: ctx.showIndex,
|
||||
dragSort: ctx.dragSort && ctx.dragSortBy,
|
||||
rowKey: ctx.rowKey || 'id',
|
||||
pagination: fieldSchema?.['x-component-props']?.pagination,
|
||||
pagination: fieldSchema?.['x-component-props']?.pagination === false ? false : field.componentProps.pagination,
|
||||
onRowSelectionChange: useCallback((selectedRowKeys) => {
|
||||
ctx.field.data = ctx?.field?.data || {};
|
||||
ctx.field.data.selectedRowKeys = selectedRowKeys;
|
||||
|
Loading…
Reference in New Issue
Block a user