定时器

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  萧韶九成  阅读(143)  评论(0)    收藏  举报