Browse Source

Pull request #3000: 无JIRA fix: 事件参数写错了

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '9b84395cfb27486f3174ca3d3b6ee956b6d8a07f':
  无JIRA fix: 事件参数写错了
es6
Dailer 2 years ago
parent
commit
a99bd2bdeb
  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