Browse Source

Merge pull request #44 in DESIGN/design from ~RICHIE/design:feature/10.0 to feature/10.0

* commit 'c0abf24a5c61a38fd7aaf3ead0f3d71560049464':
  无JIRA任务 从设计器打开产品演示,能正确的打开决策平台
master
superman 7 years ago
parent
commit
d7b3f70f20
  1. 4
      designer-base/src/com/fr/start/StartServer.java

4
designer-base/src/com/fr/start/StartServer.java

@ -50,7 +50,7 @@ public class StartServer {
*/ */
public static void browserDemoURL() { public static void browserDemoURL() {
if (FRContext.getCurrentEnv() instanceof RemoteEnv) { if (FRContext.getCurrentEnv() instanceof RemoteEnv) {
browser(FRContext.getCurrentEnv().getPath() + "?op=fs"); browser(FRContext.getCurrentEnv().getPath());
return; return;
} }
if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用 if (ComparatorUtils.equals(StableUtils.getInstallHome(), ".")) {//august:供代码使用
@ -102,7 +102,7 @@ public class StartServer {
} finally { } finally {
//先访问Demo, 后访问报表, 不需要重置服务器. //先访问Demo, 后访问报表, 不需要重置服务器.
NEED_LOAD_ENV = false; NEED_LOAD_ENV = false;
browser("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + ProjectConstants.WEBAPP_NAME + "/" + ServerConfig.getInstance().getServletName()); browser("http://localhost:" + DesignerEnvManager.getEnvManager().getJettyServerPort() + "/" + GeneralContext.getCurrentAppNameOfEnv() + "/" + ServerConfig.getInstance().getServletName());
} }
} }

Loading…
Cancel
Save