disable
This commit is contained in:
parent
9e51ca47b4
commit
755a755175
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue