mmDeferred icon indicating copy to clipboard operation
mmDeferred copied to clipboard

数组for循环里面需要使用异步,请问怎样取得所有promise执行完毕的回调?

Open 5ftech opened this issue 8 years ago • 0 comments

我看到all的例子里,执行时使用的是手动将所有promise放到Deferred.all()里面,但我放一个promise数组进去,使用.then就报错了。

5ftech avatar Nov 20 '17 00:11 5ftech