修复占位符在遍历时的跳出bug

Signed-off-by: hancong03 <121371790@qq.com>