item.list.forEach(async(sitem, sindex) => {
await this.snapshotOnDeviceApi(sitem.deviceId, sindex);
await this.getPc6ConfigurationApi(sitem.deviceId, sindex);
});
循环 里面使用的 await async写法
猜你喜欢
转载自blog.csdn.net/weixin_43843679/article/details/117559960
今日推荐
周排行