Compare commits

..

5 Commits

Author SHA1 Message Date
superman 322de1bab5 Merge pull request #15493 in DESIGN/design from fbp/master to fbp/release 3 days ago
Anner-王敬松 2b8ad5e91a Pull request #15492: REPORT-141134 fix: 设计器启动服务器默认进入管理系统页面 3 days ago
Anner e4cc1d0618 REPORT-141134 fix: 设计器启动服务器默认进入管理系统页面 3 days ago
Anner 7b54330f10 Merge remote-tracking branch 'origin/fbp/master' into fbp/master 3 days ago
Anner 94ec7b21ba REPORT-141134 fix: 设计器启动服务器默认进入管理系统页面 3 days ago
  1. 6
      designer-base/src/main/java/com/fr/design/utils/DesignUtils.java
  2. 3
      designer-base/src/main/java/com/fr/start/ServerStarter.java

6
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[]{});
}
/**

3
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
* 找默认工作目录不应该按照名字去找而应该按照安装路径因为默认工作目录的名字可能会改变

Loading…
Cancel
Save