From 37b0db2b089deea9e17777cd3f0261dab07b2f16 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 2 Apr 2020 09:09:02 +0800 Subject: [PATCH] revert --- src/core/alias.js | 3 ++- src/widget/multitree/multi.tree.combo.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/alias.js b/src/core/alias.js index 5ea9ef1e0..bcb82eef0 100644 --- a/src/core/alias.js +++ b/src/core/alias.js @@ -416,7 +416,8 @@ "&": "&", "\"": """, "<": "<", - ">": ">" + ">": ">", + " ": " " }; BI.htmlEncode = function (text) { return BI.isNull(text) ? "" : BI.replaceAll(text + "", "&|\"|<|>|\\s", function (v) { diff --git a/src/widget/multitree/multi.tree.combo.js b/src/widget/multitree/multi.tree.combo.js index 89ce0949d..e12d4fa2a 100644 --- a/src/widget/multitree/multi.tree.combo.js +++ b/src/widget/multitree/multi.tree.combo.js @@ -85,7 +85,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { }; self.trigger.getSearcher().setState(val); self.numberCounter.setButtonChecked(val); - self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); + self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM, self.combo.getValue()); } }, { eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM,