摘要: 原文链接:https://blog.csdn.net/ssbb1995/article/details/82084800 1.await 只能在 async中使用,如: 其中 testCall() 是调用的其他方法。 2.await 不能在 forEach 中使用,可以用 for- of 替代,如下 阅读全文
posted @ 2019-05-21 19:49 路过sayhi 阅读(3746) 评论(1) 推荐(1) 编辑