From 8e3ff9347da2d9026dfe468d8b6b970fbbf7aa90 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 17 Jan 2022 20:14:51 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/combo.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index e42cabb1e..2c4074e87 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -142,7 +142,9 @@ this.element.removeClass(this.options.comboClass); delete needHideWhenAnotherComboOpen[this.getName()]; - currentOpenedCombo = null; + if (currentOpenedCombo === this) { + currentOpenedCombo = null; + } 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());