mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: gantt block pagination (#3918)
* fix: gantt block pagination * fix: gantt block pagination
This commit is contained in:
parent
2be065984c
commit
fc503321ae
@ -46,7 +46,7 @@ export const useTableBlockProps = () => {
|
|||||||
showIndex: ctx.showIndex,
|
showIndex: ctx.showIndex,
|
||||||
dragSort: ctx.dragSort && ctx.dragSortBy,
|
dragSort: ctx.dragSort && ctx.dragSortBy,
|
||||||
rowKey: ctx.rowKey || 'id',
|
rowKey: ctx.rowKey || 'id',
|
||||||
pagination: field.componentProps.pagination,
|
pagination: fieldSchema?.['x-component-props']?.pagination,
|
||||||
onRowSelectionChange: useCallback((selectedRowKeys) => {
|
onRowSelectionChange: useCallback((selectedRowKeys) => {
|
||||||
ctx.field.data = ctx?.field?.data || {};
|
ctx.field.data = ctx?.field?.data || {};
|
||||||
ctx.field.data.selectedRowKeys = selectedRowKeys;
|
ctx.field.data.selectedRowKeys = selectedRowKeys;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user