定时器,多少秒后执行

      setTimeout(function () {
          console.log('结束了')
      }, 1000)
发布了182 篇原创文章 · 获赞 2 · 访问量 4815

猜你喜欢

转载自blog.csdn.net/hql1024/article/details/104476811