From ecbbc97d1a222d7d79f8f046b6e86e8e5059e23e Mon Sep 17 00:00:00 2001 From: Kira Date: Tue, 20 Oct 2020 09:57:57 +0800 Subject: [PATCH] =?UTF-8?q?QFX-1645=20refactor:=20down=20list=20combo=20it?= =?UTF-8?q?em=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/downlist/popup.downlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/downlist/popup.downlist.js b/src/widget/downlist/popup.downlist.js index 068fdb12a..9b2a5ce51 100644 --- a/src/widget/downlist/popup.downlist.js +++ b/src/widget/downlist/popup.downlist.js @@ -133,7 +133,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, { item.el.childValues.push(child.value); }); } else { - item.type = "bi.down_list_item"; + item.type = item.type || "bi.down_list_item"; item.title = item.title || item.text; item.textRgap = 10; item.isNeedAdjustWidth = false;