diff --git a/designer-base/src/main/java/com/fr/design/utils/DesignUtils.java b/designer-base/src/main/java/com/fr/design/utils/DesignUtils.java index cc7f68ee39..4d270d87a7 100644 --- a/designer-base/src/main/java/com/fr/design/utils/DesignUtils.java +++ b/designer-base/src/main/java/com/fr/design/utils/DesignUtils.java @@ -1,8 +1,8 @@ package com.fr.design.utils; +import com.fanruan.workplace.http.HttpConstants; import com.fine.theme.light.ui.laf.FineLightLaf; import com.formdev.flatlaf.extras.FlatUIDefaultsInspector; -import com.fanruan.workplace.http.HttpConstants; import com.fr.base.FeedBackInfo; import com.fr.base.ServerConfig; import com.fr.base.Utils; @@ -377,10 +377,10 @@ public class DesignUtils { } /** - * 访问服务器环境-空参数 + * 默认情况下访问服务器环境 */ public static void visitEnvServer() { - visitEnvServerByParameters(StringUtils.EMPTY, new String[]{}, new String[]{}); + visitEnvServerByParameters(ServerStarter.DEFAULT_SERVER_BASE_ROUTE, new String[]{}, new String[]{}); } /** diff --git a/designer-base/src/main/java/com/fr/start/ServerStarter.java b/designer-base/src/main/java/com/fr/start/ServerStarter.java index e3bd6d6b75..9c2bfa2620 100644 --- a/designer-base/src/main/java/com/fr/start/ServerStarter.java +++ b/designer-base/src/main/java/com/fr/start/ServerStarter.java @@ -15,6 +15,9 @@ import java.util.concurrent.Executors; public class ServerStarter { + // FBP 下默认进入管理系统 + public static final String DEFAULT_SERVER_BASE_ROUTE = "#/management"; + /** * 预览Demo * 找默认工作目录,不应该按照名字去找,而应该按照安装路径,因为默认工作目录的名字可能会改变。