阅读背景:

在AngularJS中有401个未经授权的错误处理

来源:互联网 

I'm very newbie in AngularJS, and now spending 3 days in finding a way to handle 401 status. I've tried interceptors, using $http, using $resource...but nothing is working. My app calls JSONP call on the same server. when error occurs it is caught in error callback function. but the status is always 0 and the response is undefined.I'm very newbie in AngularJS, and now spending




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: