摘要: 项目中有用到定时器定时刷新页面的数据,在网上查看了一些资料,整理了一下,备忘。 $timeout 用法如下:$timeout(fn,[delay],[invokeApply]); fn:一个将被延迟执行的函数。 delay:延迟的时间(毫秒)。 invokeApply:如果设置为false,则跳过脏 阅读全文
posted @ 2017-06-26 16:08 imsomnus 阅读(7414) 评论(0) 推荐(0) 编辑