Browse Source

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

es6
zsmj 2 years ago
parent
commit
96c5bff559
  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