Skip to content

Commit

Permalink
fix(table): 修复 enhanced-table disableDataPage props 传递问题 (#4781)
Browse files Browse the repository at this point in the history
Co-authored-by: shaw <[email protected]>
  • Loading branch information
lxzlx624 and shaw authored Nov 30, 2024
1 parent e57d364 commit 53e8516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/enhanced-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default defineComponent({
// 半选状态节点
indeterminateSelectedRowKeys: tIndeterminateSelectedRowKeys.value,
// 树形结构不允许本地数据分页
disableDataPage: Boolean(props.tree && Object.keys(props.tree).length),
disableDataPage: Boolean(props.tree && Object.keys(props.tree).length) || props.disableDataPage,
onSelectChange: onInnerSelectChange,
onDragSort: onDragSortChange,
rowClassName: ({ row }) => {
Expand Down

0 comments on commit 53e8516

Please sign in to comment.