Browse Source

Pull request #3100: 无JIRA fix: 大运维反馈, 复选树节点设置isParent无效

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'ff4b936ef531f038e62f23b407694fa945710c5d':
  无JIRA fix: 大运维反馈, 复选树节点设置isParent无效
es6
Dailer-刘荣歆 2 years ago
parent
commit
0f15108780
  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