Browse Source

chore: 优化代码

es6
guy 2 years ago
parent
commit
df12a56359
  1. 2
      src/case/trigger/trigger.text.select.js

2
src/case/trigger/trigger.text.select.js

@ -52,7 +52,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
_digest: function (val, items) {
var o = this.options;
val = BI.isArray(val) ? val : [val];
val = BI.isArray(val) ? val.slice() : [val];
// 提升valueFormatter的优先级
if (o.valueFormatter !== BI.emptyFn && BI.isFunction(o.valueFormatter)) {

Loading…
Cancel
Save