阅读(4043) (24)

AngularJS promise对象介绍

2017-07-19 17:27:37 更新

promise 对象只有 then() 一个方法,注册成功回调函数和失败回调函数,再返回一个 promise 对象,以用于链式调用。