摘要: 1、$watch angular监听 由于angular一直在实时监听,所以比react和vue效率要低 $scope.$watch('aModel', function(newValue, oldValue) { //update the DOM with newValue }); 2、$dige 阅读全文
posted @ 2017-03-16 09:35 shirleyYing 阅读(1042) 评论(0) 推荐(0) 编辑