Merge branch 'dev' into carbon

This commit is contained in:
Leopoldthecoder
2017-07-27 15:45:12 +08:00
9 changed files with 36 additions and 25 deletions

View File

@@ -300,9 +300,9 @@ export default class Node {
setChecked(value, deep, recursion, passValue) {
this.indeterminate = value === 'half';
this.checked = value === true;
let { allWithoutDisable } = getChildState(this.childNodes);
let { all, allWithoutDisable } = getChildState(this.childNodes);
if (this.childNodes.length && allWithoutDisable) {
if (this.childNodes.length && (!all && allWithoutDisable)) {
this.checked = false;
value = false;
}