请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

我用fetch请求老是出现error = TypeError: Failed to fetch

我用fetch请求老是出现error = TypeError: Failed to fetch,请问是为什么呢!

正在回答

2回答

Parry 2018-02-10 23:08:59

提问里可以贴图的。

0 回复 有任何疑惑可以回复我~
  • 提问者 qq_JamesBond_0 #1
    已经重新提问,并且添加图片了
    回复 有任何疑惑可以回复我~ 2018-02-10 23:16:29
Parry 2018-02-10 22:04:30

可以截图下详细的错误吗?

0 回复 有任何疑惑可以回复我~
  • 提问者 qq_JamesBond_0 #1
    TypeError:Failed to fetch
    Message: “TypeError: Failed to fetch”
    回复 有任何疑惑可以回复我~ 2018-02-10 22:23:20
  • 提问者 qq_JamesBond_0 #2
    我怎么把图片给你?
    加我1223510545
    回复 有任何疑惑可以回复我~ 2018-02-10 22:24:06
  • 提问者 qq_JamesBond_0 #3
    Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the re
    回复 有任何疑惑可以回复我~ 2018-02-10 23:11:48
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号