diff --git a/base/grid_layout_form.go b/base/grid_layout_form.go index 1901e25..6c64b9b 100644 --- a/base/grid_layout_form.go +++ b/base/grid_layout_form.go @@ -14,6 +14,7 @@ type GridLayoutForm struct { MarginY int `db:"marginY"` // 栅格 y 间距 Cols int `db:"cols"` // 网格列基数 FormProps []map[string]string `db:"formProps"` // 表单PROPS + Groups []map[string]string `db:"groups"` // 表单分组 ListenChangeFields []string `db:"listenChangeFields"` // 监听字段 ListenChangeFieldsFunc string `db:"listenChangeFieldsFunc"` // 监听字段回调方法 Platform string `db:"platform"` diff --git a/base/grid_layout_form_field.go b/base/grid_layout_form_field.go index 5db23cb..eeeced3 100644 --- a/base/grid_layout_form_field.go +++ b/base/grid_layout_form_field.go @@ -3,6 +3,7 @@ package base type GridLayoutFormField struct { Uuid string `db:"uuid"` GridLayoutFormUuid string `db:"grid_layout_form_uuid"` // 所属布局 UUID + Group string `db:"group"` Type string `db:"type"` X int `db:"x"` Y int `db:"y"`