Browse Source

Pull request #3065: BI-113888 fix: MultiLayerDownListPopup下拉项高度可配置

Merge in VISUAL/fineui from ~OLIVER.KE/fineui:master to master

* commit 'c5e4868b9298310bd3708b0a7d203d4958bfd016':
  无JIRA任务 SelectTextTrigger的text传函数显示有问题
  BI-113888 fix: MultiLayerDownListPopup下拉项高度可配置
es6
Oliver.Ke-柯键基 2 years ago
parent
commit
c753e73199
  1. 2
      src/case/trigger/trigger.text.select.js
  2. 4
      src/widget/multilayerdownlist/popup.downlist.js

2
src/case/trigger/trigger.text.select.js

@ -86,7 +86,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
}; };
} }
return { return {
text: o.text text,
}; };
} }
}, },

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

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

Loading…
Cancel
Save