Merge pull request #197 from wangle201210/feat/yaml

添加yaml字段类型
This commit is contained in:
孟帅
2025-10-15 22:29:37 +08:00
committed by GitHub
13 changed files with 844 additions and 9 deletions

View File

@@ -317,7 +317,7 @@ func (l *gCurd) generateWebModelFormSchemaEach(buffer *bytes.Buffer, fields []*s
// 这里根据编辑表单组件来进行推断如果没有则使用默认input这可能会导致和查询条件所需参数不符的情况
switch field.FormMode {
case FormModeInput, FormModeInputTextarea, FormModeInputEditor:
case FormModeInput, FormModeInputTextarea, FormModeInputEditor, FormModeInputYaml:
component = defaultComponent
case FormModeInputNumber: