Browse Source

无JIRA任务 本来就是默认路径时起不来

research/10.0
ju 6 years ago
parent
commit
ea4b52dcc6
  1. 4
      designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

4
designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

@ -547,9 +547,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
* 设置当前环境为默认
*/
public void setCurrentEnv2Default() {
if (isCurrentEnvDefault()) {
return;
}
try {
final String envName = getDefaultEnvName();
WorkContext.switchTo(DesignerWorkspaceGenerator.generate(getDefaultConfig()), new WorkContextCallback() {

Loading…
Cancel
Save