Browse Source

Pull request #1408: BI-68398 refactor: downlist支持child的自定type

Merge in VISUAL/fineui from ~ZHENFEI.LI/fineui:master to master

* commit '42f04067d22d86032bc6557637401d599ec93b11':
  BI-68398 refactor: downlist支持child的自定type
es6
Zhenfei.Li 5 years ago
parent
commit
b62c232006
  1. 2
      src/widget/downlist/popup.downlist.js

2
src/widget/downlist/popup.downlist.js

@ -118,7 +118,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
var fatherValue = BI.deepClone(item.el.value);
var childValue = BI.deepClone(child.value);
self.singleValues.push(child.value);
child.type = "bi.down_list_item";
child.type = child.type || "bi.down_list_item";
child.extraCls = " child-down-list-item";
child.title = child.title || child.text;
child.textRgap = 10;

Loading…
Cancel
Save