From bd331aad6ce9b1f23f407908a4dc4afc6d731384 Mon Sep 17 00:00:00 2001 From: zsmj Date: Wed, 4 Jan 2023 15:45:18 +0800 Subject: [PATCH] =?UTF-8?q?JSY-25808=20fix:=20fineui-=E5=A4=8D=E9=80=89?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/combo/textvaluecombo/combo.textvalue.js | 2 +- src/case/combo/textvaluecombo/popup.textvalue.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/case/combo/textvaluecombo/combo.textvalue.js b/src/case/combo/textvaluecombo/combo.textvalue.js index 02642da1a..0cd4460ad 100644 --- a/src/case/combo/textvaluecombo/combo.textvalue.js +++ b/src/case/combo/textvaluecombo/combo.textvalue.js @@ -144,7 +144,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { el: popup, value: o.value, maxHeight: 240, - minHeight: 25 + minHeight: 60 } }; }, diff --git a/src/case/combo/textvaluecombo/popup.textvalue.js b/src/case/combo/textvaluecombo/popup.textvalue.js index 3411793a4..aed1b0979 100644 --- a/src/case/combo/textvaluecombo/popup.textvalue.js +++ b/src/case/combo/textvaluecombo/popup.textvalue.js @@ -131,8 +131,10 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, { }; }, - mounted: function () { - this.check(); + beforeMount: function () { + if (this.options.chooseType !== BI.ButtonGroup.CHOOSE_TYPE_MULTI) { + this.check(); + } }, _formatItems: function (items) {