Browse Source

Merge pull request #802 in DESIGN/design from ~WIM.ZHAI/xdesign:release/10.0 to release/10.0

* commit 'c730a4da8dfa0b32b25619d214c1631c14e2fea8':
  update
  CHART-3647 更换url
bugfix/10.0
Wim.Zhai 6 years ago
parent
commit
e7b82f335c
  1. 2
      designer-chart/src/main/java/com/fr/van/chart/map/server/ChartMapEditorAction.java

2
designer-chart/src/main/java/com/fr/van/chart/map/server/ChartMapEditorAction.java

@ -25,7 +25,7 @@ public class ChartMapEditorAction extends UpdateAction {
int port = DesignerEnvManager.getEnvManager().getEmbedServerPort(); int port = DesignerEnvManager.getEnvManager().getEmbedServerPort();
String web = GeneralContext.getCurrentAppNameOfEnv(); String web = GeneralContext.getCurrentAppNameOfEnv();
String serverlet = ServerConfig.getInstance().getServletName(); String serverlet = ServerConfig.getInstance().getServletName();
ServerStarter.browserURLWithLocalEnv(WorkContext.getCurrent().isLocal() ? String.format("http://localhost:%d/%s/%s/view/report?op=map", port, web, serverlet) : WorkContext.getCurrent().getPath() + "/view/report?op=map"); ServerStarter.browserURLWithLocalEnv(WorkContext.getCurrent().isLocal() ? String.format("http://localhost:%d/%s/%s/map/edit", port, web, serverlet) : WorkContext.getCurrent().getPath() + "/map/edit");
} }
} }

Loading…
Cancel
Save