Skip to content

Commit

Permalink
fix: table rowSelection error #4889
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Nov 20, 2021
1 parent 67066e2 commit 7a64fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ const InteralTable = defineComponent<
watch(
() => props.rowSelection,
() => {
rowSelection.value = { ...props.rowSelection };
rowSelection.value = props.rowSelection ? { ...props.rowSelection } : props.rowSelection;
},
{ deep: true, immediate: true },
);
Expand Down

0 comments on commit 7a64fe5

Please sign in to comment.