|
|
@ -52,7 +52,6 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
|
|
|
|
|
|
|
_digest: function (val, items) { |
|
|
|
_digest: function (val, items) { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
val = BI.isArray(val) ? val : [val]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 提升valueFormatter的优先级
|
|
|
|
// 提升valueFormatter的优先级
|
|
|
|
if (o.valueFormatter !== BI.emptyFn && BI.isFunction(o.valueFormatter)) { |
|
|
|
if (o.valueFormatter !== BI.emptyFn && BI.isFunction(o.valueFormatter)) { |
|
|
@ -61,6 +60,8 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val = BI.isArray(val) ? val : [val]; |
|
|
|
|
|
|
|
|
|
|
|
var result = []; |
|
|
|
var result = []; |
|
|
|
|
|
|
|
|
|
|
|
var formatItems = BI.Tree.transformToArrayFormat(items); |
|
|
|
var formatItems = BI.Tree.transformToArrayFormat(items); |
|
|
|