From 68c23280ec9c013eb753bb158d59d6837dd4221e Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Mon, 5 Jun 2017 19:31:23 +0800 Subject: [PATCH] bug fix --- .../mainframe/alphafine/component/AlphaFineDialog.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java index 9dfba7af6e..15d6133048 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java +++ b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java @@ -156,15 +156,15 @@ public class AlphaFineDialog extends UIDialog { } /** - * 执行搜索,暂时字符要求超过两个才开始搜索 + * 执行搜索 * @param text */ private void doSearch(String text) { - if (text.length() < 2 || text.contains("'")) { - return; - } + if (StringUtils.isBlank(text) || text.equals("AlphaFine")) { removeSearchResult(); + } else if (text.contains("'")) { + return; } else { showSearchResult(text); }