Using async requires async function, but my function is async

前端 未结 4 815
没有蜡笔的小新
没有蜡笔的小新 2021-01-18 07:44

I\'m adapting a library that uses callback to use Promises. It\'s working when I use then(), but it doesn\'t work when I use await.



        
4条回答
提交回复
热议问题