Browse Source

Pull request #1717: REPORT-46068 同步下拉树展开前使用重新计算的合并后的值

Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master

* commit '4e7b82f2c3a99a375ea15e093cc0cc99c41f9aac':
  fix: 统一一下处理
  REPORT-46068 fix: 同步下拉树展开前使用重新计算的合并后的值
master
Teller 4 years ago
parent
commit
596bf65fbc
  1. 15
      src/component/treevaluechooser/abstract.treevaluechooser.js

15
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;
},

Loading…
Cancel
Save