Browse Source

无JIRA combo popup支持函数

es6
zsmj 3 years ago
parent
commit
dc567a75c2
  1. 4
      src/case/combo/bubblecombo/combo.bubble.js

4
src/case/combo/bubblecombo/combo.bubble.js

@ -53,12 +53,12 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
offsetStyle: o.offsetStyle,
showArrow: true,
el: o.el,
popup: BI.extend({
popup: () => BI.extend({
type: "bi.bubble_popup_view",
animation: "bi-zoom-big",
animationDuring: 200,
primary: o.primary
}, BI.isFunction(this.options.popup) ? this.options.popup() : this.options.popup)
}, BI.isFunction(this.options.popup) ? this.options.popup() : this.options.popup);
});
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments);

Loading…
Cancel
Save