Browse Source

JSY-26262 fix: 更改布局方式

research/test
Renzo 2 years ago
parent
commit
d5bcff9a0a
  1. 12
      src/widget/multiselect/multiselect.loader.nobar.js

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

@ -98,12 +98,14 @@ 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