Commit 6443850a authored by Weimengxi's avatar Weimengxi Committed by 杨奕

Tree: make checkStrictly responsive (#10867)

* Tree: fix model.TreeStore.checkStrictly doesn't change along with the change of tree.props.checkStrictly

* Update tree.vue
parent 8ce14faa
...@@ -162,6 +162,10 @@ ...@@ -162,6 +162,10 @@
Array.prototype.forEach.call(val, (checkbox) => { Array.prototype.forEach.call(val, (checkbox) => {
checkbox.setAttribute('tabindex', -1); checkbox.setAttribute('tabindex', -1);
}); });
},
checkStrictly(newVal) {
this.store.checkStrictly = newVal;
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment