Browse Source

Pull request #1992: JSY-7484 refactor:MultiLayerDownListPopup支持调整item高度

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

* commit '7b587521a7e1f4f149f1693fadc16a1fb36a9695':
  JSY-7484 refactor:MultiLayerDownListPopup支持调整item高度
es6
Guyi 3 years ago
parent
commit
194043804e
  1. 4
      src/widget/multilayerdownlist/popup.downlist.js

4
src/widget/multilayerdownlist/popup.downlist.js

@ -95,7 +95,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
item.el.logic = {
dynamic: true
};
item.el.height = self.constants.height;
item.el.height = item.el.height || self.constants.height;
item.el.iconCls2 = self.constants.nextIcon;
item.popup = {
lgap: 1,
@ -175,7 +175,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
if (BI.isNotEmptyArray(child.children)) {
child.type = "bi.down_list_group_item";
child.iconCls2 = self.constants.nextIcon;
child.height = self.constants.height;
child.height = child.height || self.constants.height;
self._createChildren(child);
}
});

Loading…
Cancel
Save