Browse Source

QFX-1645 refactor: down list combo item支持自定义

es6
Kira 4 years ago
parent
commit
ecbbc97d1a
  1. 2
      src/widget/downlist/popup.downlist.js

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

@ -133,7 +133,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
item.el.childValues.push(child.value); item.el.childValues.push(child.value);
}); });
} else { } else {
item.type = "bi.down_list_item"; item.type = item.type || "bi.down_list_item";
item.title = item.title || item.text; item.title = item.title || item.text;
item.textRgap = 10; item.textRgap = 10;
item.isNeedAdjustWidth = false; item.isNeedAdjustWidth = false;

Loading…
Cancel
Save