提交 a33c0a47 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

close task#7495

上级 ff71e6a4
......@@ -66,6 +66,9 @@ func GenerateForField(field *model.DefField, total int, withFix bool) []string {
count := total
if strings.Index(field.Path, "") > -1 { // is child, gen x*y records
count = getRecordCount(arrOfArr)
if count > total {
count = total
}
}
connectChildrenToSingleStr(arrOfArr, count, &values)
values = LoopSubFields(field, values, count, true)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册