diff --git a/orion-ops-module-asset/orion-ops-module-asset-service/src/main/java/com/orion/ops/module/asset/entity/vo/AuthorizedHostWrapperVO.java b/orion-ops-module-asset/orion-ops-module-asset-service/src/main/java/com/orion/ops/module/asset/entity/vo/AuthorizedHostWrapperVO.java
index e75023da..fb3e4355 100644
--- a/orion-ops-module-asset/orion-ops-module-asset-service/src/main/java/com/orion/ops/module/asset/entity/vo/AuthorizedHostWrapperVO.java
+++ b/orion-ops-module-asset/orion-ops-module-asset-service/src/main/java/com/orion/ops/module/asset/entity/vo/AuthorizedHostWrapperVO.java
@@ -21,7 +21,7 @@ import java.util.Set;
@Builder
@NoArgsConstructor
@AllArgsConstructor
-@Schema(name = "AuthorizedHostGroupWrapperVO", description = "已授权的主机分组 视图响应对象")
+@Schema(name = "AuthorizedHostWrapperVO", description = "已授权的主机分组 视图响应对象")
public class AuthorizedHostWrapperVO {
@Schema(description = "授权的主机分组")
diff --git a/orion-ops-ui/src/assets/style/global.less b/orion-ops-ui/src/assets/style/global.less
index 1f39c853..4ac86c3b 100644
--- a/orion-ops-ui/src/assets/style/global.less
+++ b/orion-ops-ui/src/assets/style/global.less
@@ -66,6 +66,12 @@ body {
}
}
+// flex
+.flex-center {
+ display: flex;
+ align-items: center;
+}
+
// -- click-icon
.click-icon-wrapper {
display: flex;
diff --git a/orion-ops-ui/src/views/host-ops/terminal/assets/styles/layout.less b/orion-ops-ui/src/views/host-ops/terminal/assets/styles/layout.less
index e1f7220f..c063d83a 100644
--- a/orion-ops-ui/src/views/host-ops/terminal/assets/styles/layout.less
+++ b/orion-ops-ui/src/views/host-ops/terminal/assets/styles/layout.less
@@ -206,13 +206,14 @@ body[terminal-theme='dark'] .host-layout {
// 终端设置容器
.terminal-setting-container {
padding: 32px 16px 16px 16px;
- width: fit-content;
- margin: auto;
+ width: 100%;
display: flex;
flex-direction: column;
.terminal-setting-wrapper {
min-width: 932px;
+ max-width: 90%;
+ margin: 0 auto;
position: relative;
}
diff --git a/orion-ops-ui/src/views/host-ops/terminal/components/new-connection/host-group-view.vue b/orion-ops-ui/src/views/host-ops/terminal/components/new-connection/host-group-view.vue
index fe6d427e..f7226b79 100644
--- a/orion-ops-ui/src/views/host-ops/terminal/components/new-connection/host-group-view.vue
+++ b/orion-ops-ui/src/views/host-ops/terminal/components/new-connection/host-group-view.vue
@@ -1,38 +1,23 @@
-
-
-
-
- {{ hosts?.treeNodes[node.key]?.length || 0 }}
-
-
-
+
+
+
+
+
+ {{ hosts?.treeNodes[node.key]?.length || 0 }}
+
+
+
+
-
-
-
- 当前分组未配置主机
-
-
-
-
- {{ hosts?.treeNodes[selectedGroup[0]] }}
-
- {{ `${item.name}(${item.code}) - ` }}
- {{ item.address }}
-
-
-
+
@@ -46,6 +31,7 @@
+
+
+
+