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

fix issue#3349

上级 6250bfb8
......@@ -123,8 +123,8 @@ func GenerateFieldValuesForDef(field *model.DefField) []string {
count++
isRandomAndLoopEnd := (*field).IsRand && (*field).LoopIndex == (*field).LoopEnd
isNotRandomAndValOver := !(*field).IsRand && indexOfRow >= len(fieldWithValues.Values)
if count >= vari.Total || isRandomAndLoopEnd || isNotRandomAndValOver {
// isNotRandomAndValOver := !(*field).IsRand && indexOfRow >= len(fieldWithValues.Values)
if count >= vari.Total || isRandomAndLoopEnd {
break
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册