From 8da818362b063867dec481414b54c5e40b915a2c Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Fri, 23 Apr 2021 17:33:23 +0800 Subject: [PATCH] =?UTF-8?q?BI-85536=20feat:=E5=85=A8=E9=80=89=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=94=AF=E6=8C=81=E4=BC=A0=E5=85=A5=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E5=AE=BD=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/toolbar/toolbar.multiselect.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/case/toolbar/toolbar.multiselect.js b/src/case/toolbar/toolbar.multiselect.js index 082135697..b8698119d 100644 --- a/src/case/toolbar/toolbar.multiselect.js +++ b/src/case/toolbar/toolbar.multiselect.js @@ -18,7 +18,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { return selectedValues.length > 0; }, halfSelected: false, - iconWrapperWidth: 26 + iconWrapperWidth: 26, + iconWidth: 16, + iconHeight: 16, }); }, _init: function () { @@ -33,7 +35,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { self.setSelected(self.isSelected()); }, selected: isSelect, - invisible: isHalfSelect + invisible: isHalfSelect, + iconWidth: o.iconWidth, + iconHeight: o.iconHeight }); this.half = BI.createWidget({ type: "bi.half_icon_button", @@ -41,7 +45,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { handler: function () { self.setSelected(true); }, - invisible: isSelect || !isHalfSelect + invisible: isSelect || !isHalfSelect, + iconWidth: o.iconWidth, + iconHeight: o.iconHeight }); this.checkbox.on(BI.Controller.EVENT_CHANGE, function () { self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);