mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:36:05 +00:00
Merge branch 'main' into next
This commit is contained in:
commit
70bb95bcaf
@ -86,7 +86,11 @@ export const useTableBlockProps = () => {
|
||||
: globalSort || ctx.dragSortBy
|
||||
: ctx.dragSortBy;
|
||||
const currentPageSize = pageSize || fieldSchema.parent?.['x-decorator-props']?.['params']?.pageSize;
|
||||
ctx.service.run({ ...params?.[0], page: current || 1, pageSize: currentPageSize, sort });
|
||||
const args = { ...params?.[0], page: current || 1, pageSize: currentPageSize };
|
||||
if (sort) {
|
||||
args['sort'] = sort;
|
||||
}
|
||||
ctx.service.run(args);
|
||||
},
|
||||
[globalSort, params],
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user