ReactJS fetch not working in exported function

后端 未结 0 1129
夕颜
夕颜 2021-01-20 08:12

Bit of an odd issue. When I use the call fetch(\'url\') in my react components, they work fine, for instance this snippet of code works without any issues:

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