diff --git a/packages/tree/src/tree-node.vue b/packages/tree/src/tree-node.vue index 69fc5f69ab..13c996546a 100644 --- a/packages/tree/src/tree-node.vue +++ b/packages/tree/src/tree-node.vue @@ -160,7 +160,7 @@ export default defineComponent({ } const handleSelectChange = (checked: boolean, indeterminate: boolean) => { - if (oldChecked.value !== checked && oldIndeterminate.value !== indeterminate) { + if (oldChecked.value !== checked || oldIndeterminate.value !== indeterminate) { tree.ctx.emit('check-change', props.node.data, checked, indeterminate) } oldChecked.value = checked