Browse Source

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

* commit '0f151087806fe7267741d74cd8b5798d9bd03ca3':
  无JIRA fix: 大运维反馈, 复选树节点设置isParent无效
master
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,
text: nodes[i].text,
times: 1,
isParent: nodes[i].getChildrenLength() > 0,
isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0,
checked: state[0],
half: state[1],
halfCheck: openState ? false : state[1],
@ -712,7 +712,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
times: 1,
isParent: false,
checked: true,
halfCheck: false
halfCheck: false,
};
});
},

Loading…
Cancel
Save