Browse Source

REPORT-70746 更新日志的显示逻辑优化

耗时操作放到action里,避免ui阻塞
feature/x
Link.Zhao 2 years ago
parent
commit
ff8239ba70
  1. 2
      designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java

2
designer-base/src/main/java/com/fr/design/update/actions/NewFeatureAction.java

@ -15,11 +15,11 @@ import java.awt.event.ActionListener;
* */
public class NewFeatureAction implements ActionListener {
private String url = CloudCenter.getInstance().acquireConf("fr.latest.update.detail", "https://help.fanruan.com/finereport/doc-view-4699.html");
@Override
public void actionPerformed(ActionEvent e) {
try {
String url = CloudCenter.getInstance().acquireConf("fr.latest.update.detail", "https://help.fanruan.com/finereport/doc-view-4699.html");
BrowseUtils.browser(url);
} catch (Exception ex) {
FineLoggerFactory.getLogger().error(ex.getMessage());

Loading…
Cancel
Save