Fetch API cannot loadNo 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.同样的ajax,get可以用,但是post就会出现这种问题
添加回答
举报
0/150
提交
取消