From 5f33c4bfe109288d1b176af094afb684535e4bec Mon Sep 17 00:00:00 2001 From: "Austin.Duan" Date: Wed, 14 Sep 2022 14:04:46 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-80202=20fix:=20combo.textvalue=20hideVie?= =?UTF-8?q?w=E6=97=B6=E6=8A=8A=E5=8F=82=E6=95=B0=E4=BC=A0=E4=B8=8B?= =?UTF-8?q?=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/combo.js | 2 +- src/case/combo/textvaluecombo/combo.textvalue.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 5fc2f8008..6bf099919 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -152,7 +152,7 @@ o.hideWhenClickOutside && BI.Widget._renderEngine.createElement(document).unbind("mousedown." + this.getName()).unbind("mousewheel." + this.getName()); BI.EVENT_BLUR && o.hideWhenBlur && BI.Widget._renderEngine.createElement(window).unbind("blur." + this.getName()); - this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW); + this.fireEvent(BI.Combo.EVENT_AFTER_HIDEVIEW, e); }, _popupView: function (e) { diff --git a/src/case/combo/textvaluecombo/combo.textvalue.js b/src/case/combo/textvaluecombo/combo.textvalue.js index 7637773f2..8a361a210 100644 --- a/src/case/combo/textvaluecombo/combo.textvalue.js +++ b/src/case/combo/textvaluecombo/combo.textvalue.js @@ -87,7 +87,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { changeTag = true; this.setValue(this.popup.getValue()); if (o.chooseType === BI.ButtonGroup.CHOOSE_TYPE_SINGLE) { - this.combo.hideView(); + this.combo.hideView(...args); this.fireEvent(BI.TextValueCombo.EVENT_CHANGE, ...args); } } @@ -110,7 +110,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { listeners: [ { eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW, - action: (...args) => { + action: () => { changeTag = false; } }, {