fix: table rowSelection error #4889

pull/4882/head
tangjinzhou 2021-11-20 22:08:30 +08:00
parent 67066e2fb6
commit 7a64fe544d
1 changed files with 1 additions and 1 deletions

View File

@ -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 },
);