Tree: make checkStrictly responsive (#10867)

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

* Update tree.vue
This commit is contained in:
Weimengxi 2018-04-24 19:51:03 +08:00 committed by 杨奕
parent 8ce14faacc
commit 6443850aa3

View File

@ -162,6 +162,10 @@
Array.prototype.forEach.call(val, (checkbox) => {
checkbox.setAttribute('tabindex', -1);
});
},
checkStrictly(newVal) {
this.store.checkStrictly = newVal;
}
},