fix: table rowSelection error #4889
parent
67066e2fb6
commit
7a64fe544d
|
@ -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 },
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue