Browse Source

CHART-3647 更换url

bugfix/10.0
Wim.Zhai 6 years ago
parent
commit
14431a505b
  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();
String web = GeneralContext.getCurrentAppNameOfEnv();
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#management/map", port, web, serverlet) : WorkContext.getCurrent().getPath() + "#management/map");
}
}

Loading…
Cancel
Save