Browse Source

fix: 统一一下处理

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

8
src/component/treevaluechooser/abstract.treevaluechooser.js

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

Loading…
Cancel
Save