Browse Source

REPORT-101400 邮件配置调整

research/11.0
bryantzzz 1 year ago
parent
commit
a3b0a768e8
  1. 5
      designer-base/src/main/java/com/fr/design/javascript/EmailPane.java

5
designer-base/src/main/java/com/fr/design/javascript/EmailPane.java

@ -1,5 +1,6 @@
package com.fr.design.javascript;
import com.fr.base.email.EmailCenter;
import com.fr.config.EmailServerConfig;
import com.fr.design.beans.FurtherBasicBeanPane;
import com.fr.design.constants.UIConstants;
@ -51,7 +52,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> {
initCenterPane(mainTextLabel, scrollPane, fill, preferred);
this.add(centerPane, BorderLayout.CENTER);
mainTextEditor.setAutoscrolls(true);
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid());
checkEmailConfig(EmailCenter.isEmailConfigValid());
}
/**
@ -113,7 +114,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> {
if (showTplContent != null) {
showTplContent.setSelected(ob ==null ? false: ob.isShowTplContent());
}
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid());
checkEmailConfig(EmailCenter.isEmailConfigValid());
}
@Override

Loading…
Cancel
Save