Why does my async function always return a pending promise?

后端 未结 0 1972
逝去的感伤
逝去的感伤 2021-02-04 10:01

When I console.log(data), I log the information I need, but if return the value of data in getWeather(), it just returns a pending promise. I have tried many things, but none ha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题