Browse Source

JSY-21914 fix: 处理报错

es6
zsmj 2 years ago
parent
commit
250414dc23
  1. 3
      src/case/combo/textvaluecombo/combo.textvalue.js

3
src/case/combo/textvaluecombo/combo.textvalue.js

@ -98,6 +98,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: trigger, el: trigger,
popup: { popup: {
el: popup, el: popup,
value: o.value,
maxHeight: 240, maxHeight: 240,
minHeight: 25 minHeight: 25
} }
@ -152,7 +153,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
}, },
getValue: function () { getValue: function () {
var value = this.popup.getValue(); var value = this.combo.getValue();
return BI.isNull(value) ? [] : (BI.isArray(value) ? value : [value]); return BI.isNull(value) ? [] : (BI.isArray(value) ? value : [value]);
}, },

Loading…
Cancel
Save