diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index fb5ec83061..223538caff 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -37,10 +37,19 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { if (!this.items) { o.itemsCreator({}, function (items) { self._initData(items); - call(); + join(); }); } else { - call(); + join(); + } + + // 重新计算合并selectedValues + function join() { + self._reqAdjustTreeNode(options, function (joinedValue) { + options.selectedValues = joinedValue; + + call(); + }); } function call() { @@ -758,7 +767,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { return true; }); - + return findParentNode; },