小程序想使用async await,需要引入一个包,runtime.js,这个包新版会出现一些问题,所以我们需要旧版的
https://github.com/facebook/regenerator/releases/tag/regenerator-runtime%400.12.1
小程序想使用async await,需要引入一个包,runtime.js,这个包新版会出现一些问题,所以我们需要旧版的
https://github.com/facebook/regenerator/releases/tag/regenerator-runtime%400.12.1
本文标题:2019 小程序开发用 async/await 解决异步调用
本文链接:https://www.haomeiwen.com/subject/ccrjnctx.html
网友评论