diff --git a/src/components/tree/tree.vue b/src/components/tree/tree.vue index c5864b83..4780a0fb 100644 --- a/src/components/tree/tree.vue +++ b/src/components/tree/tree.vue @@ -174,7 +174,11 @@ if (this.checkStrictly) return; for (let key in changes) { - this.$set(node, key, changes[key]); + if (key === 'checked' && node.disabled) { + this.$set(node, key, node.checked); + } else { + this.$set(node, key, changes[key]); + } } if (node[this.childrenKey]) { node[this.childrenKey].forEach(child => {