From 35ceefc654050b39c0b236f941e20c754fcc01b2 Mon Sep 17 00:00:00 2001 From: Kira Date: Fri, 7 May 2021 09:46:30 +0800 Subject: [PATCH] =?UTF-8?q?JSY-5296=20feat:=20down=20list=20combo=20popup?= =?UTF-8?q?=E5=AE=BD=E9=AB=98=E6=8F=90=E4=BE=9B=E9=85=8D=E7=BD=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/downlist/combo.downlist.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index 24c87c336..80b414f73 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -12,7 +12,9 @@ BI.DownListCombo = BI.inherit(BI.Widget, { trigger: "click", container: null, stopPropagation: false, - el: {} + el: {}, + minWidth: 140, + maxHeight: 1000 }); }, @@ -56,8 +58,8 @@ BI.DownListCombo = BI.inherit(BI.Widget, { popup: { el: this.popupview, stopPropagation: o.stopPropagation, - maxHeight: 1000, - minWidth: 140 + maxHeight: o.maxHeight, + minWidth: o.minWidth } });