|
|
@ -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; |
|
|
|
|
|
|
|
|
|
|
|