fix error
This commit is contained in:
parent
31dcbe81bb
commit
ffd6d516cc
@ -18,7 +18,10 @@ func GetLineList(c *context.Context) {
|
|||||||
list := make([]map[string]interface{}, 0)
|
list := make([]map[string]interface{}, 0)
|
||||||
|
|
||||||
if ls != nil {
|
if ls != nil {
|
||||||
for v := range ls {
|
for _, v := range ls {
|
||||||
|
if v == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
list = append(list, utils.ToMap(v))
|
list = append(list, utils.ToMap(v))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user