mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-29 06:53:01 +00:00
fix(table): fix pagination error
This commit is contained in:
@@ -172,7 +172,7 @@ export function useDataSource(
|
||||
|
||||
const { current = 1, pageSize = PAGE_SIZE } = unref(getPaginationInfo) as PaginationProps;
|
||||
|
||||
if (!pagination || isBoolean(getPaginationInfo)) {
|
||||
if ((isBoolean(pagination) && !pagination) || isBoolean(getPaginationInfo)) {
|
||||
pageParams = {};
|
||||
} else {
|
||||
pageParams[pageField] = (opt && opt.page) || current;
|
||||
|
Reference in New Issue
Block a user