From c345e5f69219fd416e05668d9d91f6f08f63da5f Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 30 Sep 2021 11:13:43 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-56179=20=E4=BA=8B=E4=BB=B6=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/multilayerselecttree/multilayerselecttree.combo.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widget/multilayerselecttree/multilayerselecttree.combo.js b/src/widget/multilayerselecttree/multilayerselecttree.combo.js index b512d4393..472c2d1cd 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.combo.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.combo.js @@ -97,6 +97,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { self.setValue(this.getValue()); self.combo.hideView(); self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_CHANGE); + self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_CLICK_ITEM, self.combo.getValue()); } }], onLoaded: function () { @@ -150,6 +151,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { self.setValue(this.getValue()); self.combo.hideView(); self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_CHANGE); + self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_CLICK_ITEM, self.combo.getValue()); } }, { eventName: BI.MultiLayerSelectTreeTrigger.EVENT_FOCUS, @@ -243,4 +245,5 @@ BI.MultiLayerSelectTreeCombo.EVENT_BLUR = "EVENT_BLUR"; BI.MultiLayerSelectTreeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.MultiLayerSelectTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiLayerSelectTreeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; +BI.MultiLayerSelectTreeCombo.EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM"; BI.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo); \ No newline at end of file