Aborting ngResource using a promise object

前端 未结 3 1050
再見小時候
再見小時候 2021-01-19 08:16

I\'ve recently learned that ngResource request can be aborted either by specifying a timeout in ms or passing a deferred object.

The second solution does not seem to

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-19 08:42

    It looks like it's an open issue with Angular 1.3: github.com/angular/angular.js/issues/9332 You're jsfiddle works if you drop back to 1.2.28.

提交回复
热议问题