This commit is contained in:
jiangyong 2025-07-31 19:40:37 +08:00
parent 9e51ca47b4
commit 755a755175
1 changed files with 7 additions and 6 deletions

View File

@ -17,12 +17,13 @@ type FormOption struct {
}
type Form struct {
Type string `json:"type"` //表单类型
Name string `json:"name"` //表单名称
Key string `json:"key"` //表单KEY
Value interface{} `json:"value"` //表单值
Tips string `json:"tips"` //表单提示
Option []*FormOption `json:"option"` //表单选项radion和checkbox需要
Type string `json:"type"` //表单类型
Name string `json:"name"` //表单名称
Key string `json:"key"` //表单KEY
Value interface{} `json:"value"` //表单值
Disable bool `json:"disable,omitempty"` //是否禁用
Tips string `json:"tips"` //表单提示
Option []*FormOption `json:"option"` //表单选项radion和checkbox需要
}
func NewFroms(tplConfig, saveConfig string) ([]*Form, error) {