Browse Source

无JIRA fix: 事件参数写错了

es6
zsmj 2 years ago
parent
commit
701ab5576f
  1. 4
      src/case/combo/textvaluecombo/combo.textvalue.js

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

@ -78,12 +78,12 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
action: (...args) => { action: (...args) => {
this.setValue(this.popup.getValue()); this.setValue(this.popup.getValue());
this.combo.hideView(); this.combo.hideView();
this.fireEvent(BI.TextValueCombo.EVENT_CHANGE, args); this.fireEvent(BI.TextValueCombo.EVENT_CHANGE, ...args);
} }
}, { }, {
eventName: BI.Controller.EVENT_CHANGE, eventName: BI.Controller.EVENT_CHANGE,
action: (...args) => { action: (...args) => {
this.fireEvent(BI.Controller.EVENT_CHANGE, args); this.fireEvent(BI.Controller.EVENT_CHANGE, ...args);
} }
} }
] ]

Loading…
Cancel
Save