Browse Source

Merge pull request #186461 in DEC/fineui from master to feature/x

* commit '0f151087806fe7267741d74cd8b5798d9bd03ca3':
  无JIRA fix: 大运维反馈, 复选树节点设置isParent无效
research/test
superman 2 years ago
parent
commit
4ae9156917
  1. 4
      src/component/treevaluechooser/abstract.treevaluechooser.js

4
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],
@ -712,7 +712,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