Browse Source

Merge pull request #172758 in DEC/fineui from master to feature/x

* commit 'c753e7319926ef70ace0467a616d08bbe366beab':
  无JIRA任务 SelectTextTrigger的text传函数显示有问题
  BI-113888 fix: MultiLayerDownListPopup下拉项高度可配置
master
superman 2 years ago
parent
commit
e9bbf8da15
  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 {
text: o.text
text,
};
}
},

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

@ -99,7 +99,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
item.el.logic = {
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.popup = {
lgap: 1,
@ -183,7 +183,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
if (BI.isNotEmptyArray(child.children)) {
item.type = "bi.down_list_group_item";
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);
}
targetItem.items.push(item);

Loading…
Cancel
Save