Browse Source

chore: 优化

es6
guy 2 years ago
parent
commit
226137871f
  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: node.getChildrenLength() > 0, 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