Browse Source

Merge pull request #187236 in DEC/fineui from final/11.0 to release/11.0

* commit 'a0161560b00a960611eed1bc1f975314781a0240':
  无jira任务 cherr pick一下
master
superman 2 years ago
parent
commit
e2e30bd1de
  1. 4
      src/component/treevaluechooser/abstract.treevaluechooser.js

4
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -586,7 +586,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
value: node.value, value: node.value,
text: node.text, text: node.text,
times: 1, times: 1,
isParent: node.getChildrenLength() > 0, isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0,
checked: state[0], checked: state[0],
halfCheck: state[1], halfCheck: state[1],
open: self.options.open, open: self.options.open,
@ -701,7 +701,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
times: 1, times: 1,
isParent: false, isParent: false,
checked: true, checked: true,
halfCheck: false halfCheck: false,
}; };
}); });
}, },

Loading…
Cancel
Save