Browse Source

fix: 统一一下处理

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

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

@ -37,10 +37,14 @@ 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);
call(); join();
}); });
} else { } else {
// 同步状态下,重新计算合并selectedValues join();
}
// 重新计算合并selectedValues
function join() {
self._reqAdjustTreeNode(options, function (joinedValue) { self._reqAdjustTreeNode(options, function (joinedValue) {
options.selectedValues = joinedValue; options.selectedValues = joinedValue;
@ -763,7 +767,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
return true; return true;
}); });
return findParentNode; return findParentNode;
}, },

Loading…
Cancel
Save