补充上传协议和实名认证
This commit is contained in:
@@ -95,7 +95,8 @@ export default function DataTable<T extends Record<string, unknown>>(
|
||||
},
|
||||
state: {
|
||||
pagination: {
|
||||
pageIndex: props.pagination?.page ?? 0,
|
||||
// Pagination 组件页码为 1 起始,tanstack 内部为 0 起始
|
||||
pageIndex: (props.pagination?.page ?? 1) - 1,
|
||||
pageSize: props.pagination?.size ?? props.data.length,
|
||||
},
|
||||
columnFilters: [],
|
||||
|
||||
Reference in New Issue
Block a user