From 52f43dbb9ae11013bf5513b6d56c3e703fa93f68 Mon Sep 17 00:00:00 2001 From: fay Date: Tue, 19 Jan 2021 14:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E4=B8=80=E4=B8=AA=E6=8E=A7=E5=88=B6icon=E7=9A=84?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/editor/editor.search.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/widget/editor/editor.search.js b/src/widget/editor/editor.search.js index 8eef89f2f..97e77c086 100644 --- a/src/widget/editor/editor.search.js +++ b/src/widget/editor/editor.search.js @@ -183,6 +183,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, { isValid: function () { return this.editor.isValid(); + }, + + showClearIcon: function () { + this.clear.visible(); + }, + + hideClearIcon: function () { + this.clear.invisible(); } }); BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";