对预检请求的响应未通过访问控制检查:否'Access-Control-Allow-Origin

时间:2018-06-27 07:49:23

标签: vue.js

我正在将数据Vuejs表单发送到PHP页面,但是它显示源和标头错误,并且错误是

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.

0 个答案:

没有答案