Skip to content

Commit

Permalink
fix(table/hooks/useRowSelect): 修复设置 reserveSelectedRowOnPaginate=fals…
Browse files Browse the repository at this point in the history
…e 时的全选问题
  • Loading branch information
zyr committed Oct 23, 2024
1 parent 6e87612 commit 5bb92bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/table/primary-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ export default defineComponent({
selectColumn,
showRowSelect,
selectedRowClassNames,
currentPaginateData,
formatToRowSelectColumn,
setTSelectedRowKeys,
onInnerSelectRowClick,
Expand Down Expand Up @@ -323,7 +322,6 @@ export default defineComponent({

const onInnerPageChange = (pageInfo: PageInfo, newData: Array<TableRowData>) => {
innerPagination.value = { ...innerPagination.value, ...pageInfo };
currentPaginateData.value = newData;
props.onPageChange?.(pageInfo, newData);
const changeParams: Parameters<TdPrimaryTableProps['onChange']> = [
{ pagination: pageInfo },
Expand Down

0 comments on commit 5bb92bc

Please sign in to comment.