From 671b2b21d85aa1748b0285c21e6b6865f2b747fe Mon Sep 17 00:00:00 2001 From: hades Date: Tue, 3 Nov 2020 15:22:07 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-42639=20=E8=BF=9C=E7=A8=8B=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E5=B9=B3=E5=8F=B0=E5=AF=86=E7=A0=81-=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=BF=9C=E7=A8=8B=E6=9D=83=E9=99=90=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=88=87=E6=8D=A2=E7=9B=AE=E5=BD=95=EF=BC=8C=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=86=85=E5=AE=B9=E4=B8=8D=E5=BA=94=E8=AF=A5=E6=9C=89?= =?UTF-8?q?=E2=80=98=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/EnvChangeEntrance.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java b/designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java index 382709c92f..f5bfdfeeb8 100644 --- a/designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java +++ b/designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java @@ -193,7 +193,9 @@ public class EnvChangeEntrance { UIManager.getIcon("OptionPane.errorIcon"))); } else { strategy.showTip(() -> FineJOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), - new MessageWithLink(result.getText(), Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Modify_PassWord"), info.getUrl() + RemoteWorkspaceURL.SYSTEM_LOGIN_PATH), + result.isVerifyResult() + ? new MessageWithLink(result.getText(), Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Modify_PassWord"), info.getUrl() + RemoteWorkspaceURL.SYSTEM_LOGIN_PATH) + : result.getText(), Toolkit.i18nText("Fine-Design_Basic_Error"), ERROR_MESSAGE, UIManager.getIcon("OptionPane.errorIcon")));