微信小程序 延迟执行

setTimeout(function () {
    
    
	//要延时执行的代码
}, 2000) //延迟时间 这里是2秒

猜你喜欢

转载自blog.csdn.net/zx77588023/article/details/115421767