Browse Source

Merge pull request #187235 in DEC/fineui from persist/11.0 to final/11.0

* commit '3a26346011c7caa7f5000f870b3e64bcd53b89dd':
  无jira任务 cherr pick一下
research/test
superman 2 years ago
parent
commit
a0161560b0
  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