diff --git a/orion-ops-framework/orion-ops-spring-boot-starter-mybatis/src/main/java/com/orion/ops/framework/mybatis/core/generator/CodeGenerators.java b/orion-ops-framework/orion-ops-spring-boot-starter-mybatis/src/main/java/com/orion/ops/framework/mybatis/core/generator/CodeGenerators.java
index ef578cb4..450262ed 100644
--- a/orion-ops-framework/orion-ops-spring-boot-starter-mybatis/src/main/java/com/orion/ops/framework/mybatis/core/generator/CodeGenerators.java
+++ b/orion-ops-framework/orion-ops-spring-boot-starter-mybatis/src/main/java/com/orion/ops/framework/mybatis/core/generator/CodeGenerators.java
@@ -45,11 +45,12 @@ public class CodeGenerators {
// .color("blue", "gray", "red", "green", "white")
// .valueUseFields()
// .build(),
- Template.create("command_snippet_group", "命令片段分组", "command")
+ Template.create("command_snippet", "命令片段", "command")
.disableUnitTest()
- .cache("command:snippet:group:{}", "命令片段分组 ${userId}")
+ .cache("command:snippet:group:{}", "命令片段 ${userId}")
.expire(1, TimeUnit.DAYS)
- .vue("host", "command-snippet-group")
+ .vue("asset", "command-snippet")
+ .enableDrawerForm()
.build(),
};
// jdbc 配置 - 使用配置文件
diff --git a/orion-ops-ui/src/components/view/editor/index.vue b/orion-ops-ui/src/components/view/editor/index.vue
index bc09b9cb..8d629092 100644
--- a/orion-ops-ui/src/components/view/editor/index.vue
+++ b/orion-ops-ui/src/components/view/editor/index.vue
@@ -11,7 +11,7 @@
diff --git a/orion-ops-ui/src/views/host/command-snippet/components/command-snippet-form-drawer.vue b/orion-ops-ui/src/views/host/command-snippet/components/command-snippet-form-drawer.vue
new file mode 100644
index 00000000..827e7631
--- /dev/null
+++ b/orion-ops-ui/src/views/host/command-snippet/components/command-snippet-form-drawer.vue
@@ -0,0 +1,152 @@
+
+