Browse Source

JSY-26262 fix: 更改布局方式

research/test
Renzo 1 year ago
parent
commit
d5bcff9a0a
  1. 14
      src/widget/multiselect/multiselect.loader.nobar.js

14
src/widget/multiselect/multiselect.loader.nobar.js

@ -98,13 +98,15 @@ BI.MultiSelectNoBarLoader = BI.inherit(BI.Widget, {
value: this.storeValue
}, opts.el));
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{el: this.button_group, inset: 0}],
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Top), BI.extend({
scrolly: true,
vgap: 5
});
}, opts.logic, {
items: BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Top, this.button_group)
}))));
this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});

Loading…
Cancel
Save