Browse Source

无JIRA任务 chore: 优化

es6
Treecat 2 years ago
parent
commit
a23086af2e
  1. 2
      src/component/treevaluechooser/abstract.treevaluechooser.js

2
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -547,7 +547,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
value: nodes[i].value, value: nodes[i].value,
text: nodes[i].text, text: nodes[i].text,
times: 1, times: 1,
isParent: nodes[i].getChildrenLength() > 0, isParent: nodes[i].isParent && nodes[i].getChildrenLength() > 0,
checked: state[0], checked: state[0],
half: state[1], half: state[1],
halfCheck: openState ? false : state[1], halfCheck: openState ? false : state[1],

Loading…
Cancel
Save