首页 > 其他 > 详细

定时器

时间:2018-09-06 17:24:48      阅读:134      评论:0      收藏:0      [点我收藏+]

this.timer = setInterval(dojo.hitch(this, function(){

            this.initData();

        }), 3000);

if(this.timer){

clearInterval(this.timer);

            this.timer = null;

}

定时器

原文:https://www.cnblogs.com/7q4w1e/p/9599230.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!