From a3630ea8717dc1c4d0238405e46cb656f9c79ffd Mon Sep 17 00:00:00 2001 From: Starryi Date: Tue, 24 Aug 2021 13:24:41 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-57934=20=E3=80=90=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E3=80=91=E6=96=B0=E5=BB=BA=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=9C=AA=E5=A1=AB=E5=86=99=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=B8=8D=E8=83=BD=E8=AE=BE=E7=BD=AE=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【问题原因】 自动聚焦导致其他控件设置项响应用户交互 【改动思路】 取消自动聚焦 --- .../fr/design/mainframe/theme/TemplateThemeProfilePane.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeProfilePane.java b/designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeProfilePane.java index e0f5c06a2a..718469c065 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeProfilePane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeProfilePane.java @@ -563,9 +563,6 @@ public abstract class TemplateThemeProfilePane extends boolean valid = StringUtils.isEmpty(error); - if (!valid) { - textField.requestFocus(); - } errorLabel.setVisible(!valid); if (actionButtons != null && actionButtons.length > 0) { for (UIButton button : actionButtons) {