diff --git a/src/widget/editor/editor.search.js b/src/widget/editor/editor.search.js index b2ae7cb027..5ab35b31e8 100644 --- a/src/widget/editor/editor.search.js +++ b/src/widget/editor/editor.search.js @@ -35,7 +35,7 @@ BI.SearchEditor = BI.inherit(BI.Widget, { }); this.clear.on(BI.IconButton.EVENT_CHANGE, function () { self.setValue(""); - self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); + self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT, self.getValue()); // 从有内容到无内容的清空也是一次change self.fireEvent(BI.SearchEditor.EVENT_CHANGE); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);