🔨 添加工具栏功能.

This commit is contained in:
lijiahangmax
2025-07-08 00:45:23 +08:00
parent fc151216f1
commit bfde435071
8 changed files with 78 additions and 16 deletions

View File

@@ -51,4 +51,9 @@ public class HostVncExtraModel implements GenericsDataModel {
*/
private Boolean lowBandwidthMode;
/**
* 交换红蓝
*/
private Boolean swapRedBlue;
}

View File

@@ -44,6 +44,7 @@ public class HostVncExtraStrategy extends AbstractGenericsDataStrategy<HostVncEx
public HostVncExtraModel getDefault() {
return HostVncExtraModel.builder()
.lowBandwidthMode(false)
.swapRedBlue(false)
.build();
}

View File

@@ -368,6 +368,7 @@ public class HostConnectServiceImpl implements HostConnectService {
if (extra != null) {
// 设置额外配置信息
connectConfig.setLowBandwidthMode(extra.getLowBandwidthMode());
connectConfig.setSwapRedBlue(extra.getSwapRedBlue());
// 设置自定义端口
Integer extraPort = extra.getPort();
if (extraPort != null) {