Browse Source

Merge pull request #1142 in DESIGN/design from ~LUCIAN.CHEN/design:feature/10.0 to feature/10.0

* commit '526683b73aba8ec279e35d3cafc044c0f66aa70e':
  REPORT-21990 新版本插件管理,帆软通行证登陆-立即注册不会跳转链接
persist/11.0
Lucian.Chen 5 years ago
parent
commit
70f2c7c487
  1. 12
      designer-base/src/main/java/com/fr/design/upm/UpmBridge.java

12
designer-base/src/main/java/com/fr/design/upm/UpmBridge.java

@ -443,6 +443,18 @@ public class UpmBridge {
}
}
/**
* 立即注册
*/
@JSBridge
public void registerHref() {
try {
Desktop.getDesktop().browse(new URI(CloudCenter.getInstance().acquireUrlByKind("bbs.register")));
} catch (Exception e) {
FineLoggerFactory.getLogger().info(e.getMessage());
}
}
/**
* 使用系统浏览器打开网页
* @param url 要打开的网页

Loading…
Cancel
Save