Revert "优化repeat效果并添加相应测试文件"

This reverts commit 970a00c7298bc4d19df1bbd6d596fb0237947f27.