From 421980d3ade5cda071397573adfc325899144d57 Mon Sep 17 00:00:00 2001 From: dailer Date: Wed, 1 Nov 2023 17:29:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A0JIRA=20singletree.combo=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BC=A0=E5=85=A5popup=E5=B1=9E=E6=80=A7,=20?= =?UTF-8?q?maxHeight=E4=B9=8B=E7=B1=BB=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/widget/singletree/singletree.combo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/fineui/src/widget/singletree/singletree.combo.js b/packages/fineui/src/widget/singletree/singletree.combo.js index 66cc15d95..7639c9eb5 100644 --- a/packages/fineui/src/widget/singletree/singletree.combo.js +++ b/packages/fineui/src/widget/singletree/singletree.combo.js @@ -33,6 +33,7 @@ export class SingleTreeCombo extends Widget { items: [], value: "", allowClear: false, + popup: {} }); } @@ -77,6 +78,7 @@ export class SingleTreeCombo extends Widget { el: this.trigger, popup: { el: this.popup, + ...o.popup }, }); From e84293c18bc379033a96588b1c125204dd1b7a5e Mon Sep 17 00:00:00 2001 From: dailer Date: Wed, 1 Nov 2023 17:31:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=97=A0JIRA=20singletree.combo=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BC=A0=E5=85=A5popup=E5=B1=9E=E6=80=A7,=20?= =?UTF-8?q?maxHeight=E4=B9=8B=E7=B1=BB=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/widget/singletree/singletree.combo.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/fineui/src/widget/singletree/singletree.combo.js b/packages/fineui/src/widget/singletree/singletree.combo.js index 7639c9eb5..02f20ed42 100644 --- a/packages/fineui/src/widget/singletree/singletree.combo.js +++ b/packages/fineui/src/widget/singletree/singletree.combo.js @@ -33,7 +33,10 @@ export class SingleTreeCombo extends Widget { items: [], value: "", allowClear: false, - popup: {} + popup: { + maxHeight: 400, + minHeight: 240, + } }); }