循环执行
setInterval(function () { //循环执行代码 }, 1000) //循环时间 这里是1秒
微信小程序循环执行
原文:https://www.cnblogs.com/ggzhihh/p/8942903.html