qyweixin Selector
This commit is contained in:
parent
1ddf30a9ca
commit
54821df68a
|
@ -104,7 +104,11 @@ func (d *ApproveDetail) GetValue(title string) string {
|
|||
|
||||
var value string
|
||||
if content.Control == "Selector" {
|
||||
value = content.Value.Selector.Options[0].Value[0].Text
|
||||
for _, v := range content.Value.Selector.Options[0].Value {
|
||||
if v.Text != "" {
|
||||
value = v.Text
|
||||
}
|
||||
}
|
||||
} else if content.Control == "Text" || content.Control == "Textarea" {
|
||||
value = content.Value.Text
|
||||
} else if content.Control == "Date" {
|
||||
|
|
Loading…
Reference in New Issue