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