Skip to content

Commit

Permalink
fix: table rowSelection deep watch #4889
Browse files Browse the repository at this point in the history
close #4889
  • Loading branch information
tangjinzhou committed Nov 20, 2021
1 parent d129670 commit 5af08c0
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 @@ -493,7 +493,7 @@ const InteralTable = defineComponent<
() => {
rowSelection.value = { ...props.rowSelection };
},
{ deep: true },
{ deep: true, immediate: true },
);
// ========================== Selections ==========================
const [transformSelectionColumns, selectedKeySet] = useSelection(rowSelection, {
Expand Down

0 comments on commit 5af08c0

Please sign in to comment.