摘要: angular怎么样注销事件 $scope.$on("$destroy", function() { //清除配置,不然scroll会重复请求 }) 在Controller中监听$destory事件,这个事件会在页面发生跳转的时候触发。 阅读全文
posted @ 2017-03-15 09:33 阿力瓦 阅读(933) 评论(0) 推荐(0) 编辑