Skip to content

Commit

Permalink
fix(table): 修复 enhanced-table disableDataPage props 传递问题
Browse files Browse the repository at this point in the history
  • Loading branch information
shawliang committed Nov 27, 2024
1 parent de5bf23 commit ad888a3
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 ad888a3

Please sign in to comment.