mirror of https://github.com/ElemeFE/element
Tree: make checkStrictly responsive (#10867)
* Tree: fix model.TreeStore.checkStrictly doesn't change along with the change of tree.props.checkStrictly * Update tree.vuepull/10869/head
parent
8ce14faacc
commit
6443850aa3
|
@ -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;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue