Browse Source

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

* commit '586192caa345b020657a558eb3a3e66b9141d126':
  chore: 优化
  chore: 优化
research/test
superman 2 years ago
parent
commit
9b9b2e5e85
  1. 4
      src/component/treevaluechooser/abstract.treevaluechooser.js

4
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -548,7 +548,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
isParent: nodes[i].getChildrenLength() > 0, isParent: nodes[i].getChildrenLength() > 0,
checked: state[0], checked: state[0],
halfCheck: state[1], halfCheck: state[1],
open: nodes[i].open, open: o.open || nodes[i].open,
disabled: nodes[i].disabled, disabled: nodes[i].disabled,
title: nodes[i].title || nodes[i].text, title: nodes[i].title || nodes[i].text,
warningTitle: nodes[i].warningTitle, warningTitle: nodes[i].warningTitle,
@ -589,7 +589,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
isParent: node.getChildrenLength() > 0, isParent: node.getChildrenLength() > 0,
checked: state[0], checked: state[0],
halfCheck: state[1], halfCheck: state[1],
open: self.options.open, open: true,
disabled: node.disabled, disabled: node.disabled,
title: node.title || node.text, title: node.title || node.text,
warningTitle: node.warningTitle, warningTitle: node.warningTitle,

Loading…
Cancel
Save