Browse Source

Pull request #3079: 无JIRA任务 chore: 优化

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

* commit '9cfb917a1d5d57f6297fa9b1ca21827625ef2a46':
  chore: 优化
  chore: 优化
es6
guy-王川 2 years ago
parent
commit
586192caa3
  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