Browse Source

Revert "fix: 统一一下处理"

This reverts commit 4e7b82f2c3.
es6
iapyang 4 years ago
parent
commit
b43346c7c3
  1. 10
      src/component/treevaluechooser/abstract.treevaluechooser.js

10
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -37,14 +37,10 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if (!this.items) { if (!this.items) {
o.itemsCreator({}, function (items) { o.itemsCreator({}, function (items) {
self._initData(items); self._initData(items);
join(); call();
}); });
} else { } else {
join(); // 同步状态下,重新计算合并selectedValues
}
// 重新计算合并selectedValues
function join() {
self._reqAdjustTreeNode(options, function (joinedValue) { self._reqAdjustTreeNode(options, function (joinedValue) {
options.selectedValues = joinedValue; options.selectedValues = joinedValue;
@ -767,7 +763,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
return true; return true;
}); });
return findParentNode; return findParentNode;
}, },

Loading…
Cancel
Save