return null if _source is empty

This commit is contained in:
Kassian Sun 2023-03-23 09:00:07 +08:00
parent 17abd00e20
commit 845d77508b
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ func extractSomeValue(v interface{}) interface{} {
for _, v := range vm {
return extractSomeValue(v)
}
return nil
}
return v
}