search

Home  >  Q&A  >  body text

angular.js - mock.js supports angularjs promise ajax interception

mock.js 目前只支持jQuery、zeptojs、KISSY ajax拦截,现在项目代码用的是angularjs发送ajax 采用的promise 模式!

Is there any way to make mock.js support angularjs? Or is there any other library that supports similar functions to angularjs.

天蓬老师天蓬老师2840 days ago618

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-15 16:54:39

    Isn’t there ng-mocks in angular? ?

    reply
    0
  • Cancelreply