From 93bc3601ede8c1774bd6b66851d5a55608306953 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 10 Feb 2021 13:28:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=88=E5=AF=B9=E7=A7=BB=E5=8A=A8=E7=AB=AFre?= =?UTF-8?q?m=E8=BF=9B=E8=A1=8C=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/year/combo.year.js | 3 ++- src/widget/yearmonth/combo.yearmonth.js | 3 ++- src/widget/yearquarter/combo.yearquarter.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/widget/year/combo.year.js b/src/widget/year/combo.year.js index 830af29881..071eca3024 100644 --- a/src/widget/year/combo.year.js +++ b/src/widget/year/combo.year.js @@ -64,6 +64,7 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, { isNeedAdjustWidth: false, el: this.trigger, destroyWhenHide: true, + adjustLength: 1, popup: { minWidth: 85, stopPropagation: false, @@ -205,4 +206,4 @@ BI.shortcut("bi.dynamic_year_combo", BI.DynamicYearCombo); BI.extend(BI.DynamicYearCombo, { Static: 1, Dynamic: 2 -}); \ No newline at end of file +}); diff --git a/src/widget/yearmonth/combo.yearmonth.js b/src/widget/yearmonth/combo.yearmonth.js index 45713f96c5..b6eaef9781 100644 --- a/src/widget/yearmonth/combo.yearmonth.js +++ b/src/widget/yearmonth/combo.yearmonth.js @@ -62,6 +62,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { isNeedAdjustWidth: false, el: this.trigger, destroyWhenHide: true, + adjustLength: 1, popup: { minWidth: 100, stopPropagation: false, @@ -203,4 +204,4 @@ BI.shortcut("bi.dynamic_year_month_combo", BI.DynamicYearMonthCombo); BI.extend(BI.DynamicYearMonthCombo, { Static: 1, Dynamic: 2 -}); \ No newline at end of file +}); diff --git a/src/widget/yearquarter/combo.yearquarter.js b/src/widget/yearquarter/combo.yearquarter.js index 13fdd8c603..1bbf3c3643 100644 --- a/src/widget/yearquarter/combo.yearquarter.js +++ b/src/widget/yearquarter/combo.yearquarter.js @@ -62,6 +62,7 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { isNeedAdjustWidth: false, el: this.trigger, destroyWhenHide: true, + adjustLength: 1, popup: { minWidth: 85, stopPropagation: false, @@ -203,4 +204,4 @@ BI.shortcut("bi.dynamic_year_quarter_combo", BI.DynamicYearQuarterCombo); BI.extend(BI.DynamicYearQuarterCombo, { Static: 1, Dynamic: 2 -}); \ No newline at end of file +});