定时器

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

            this.initData();

        }), 3000);

if(this.timer){

clearInterval(this.timer);

            this.timer = null;

}

posted @ 2018-09-06 16:29  萧韶九成  阅读(137)  评论(0编辑  收藏  举报