From e0a8e1e4aa44fb00a482351cba98ab84a5b3f518 Mon Sep 17 00:00:00 2001 From: Guyi Date: Sun, 26 Sep 2021 11:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=EF=BC=8CSearchM?= =?UTF-8?q?ultiSelectLoader=E4=B8=8B=E6=8B=89=E9=A1=B9=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../multitextvalue.loader.search.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js b/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js index 65cfeb217..59113111e 100644 --- a/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js +++ b/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js @@ -17,6 +17,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { }, valueFormatter: BI.emptyFn, itemsCreator: BI.emptyFn, + itemHeight: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, onLoaded: BI.emptyFn }); }, @@ -34,6 +35,12 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { type: "bi.select_list", element: this, logic: opts.logic, + toolbar: { + type: "bi.multi_select_bar", + cls: "bi-list-item-active", + height: this.options.itemHeight, + iconWrapperWidth: 36 + }, el: BI.extend({ onLoaded: opts.onLoaded, el: { @@ -112,7 +119,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, { type: "bi.multi_select_item", logic: this.options.logic, cls: "bi-list-item-active", - height: 24, + height: this.options.itemHeight, selected: this.isAllSelected(), iconWrapperWidth: 36 });