return Promise {: undefined} instead of needed value

前端 未结 0 1536
日久生厌
日久生厌 2021-02-11 01:41

I have a bug with Promise, when I first initialize my component I call a function getRequest, and it returns me topics for 2 categories (Cars and Bikes) like this <

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