Why can't access fetch function .catch when it's not surrounded by parentheses?

后端 未结 0 1328
别那么骄傲
别那么骄傲 2021-02-15 16:59

I have a function that wrapped a fetch function HTTP request, and I\'ve been trying to access the .catch when the requests fail, but when the requests

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