为什么会出现跨域错误?
前端页面的发起请求的时候会出现跨源请求阻塞Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://xxx.com/api/register. (Reason: CORS header 'Access-Control-Allow-Origin' missing),我自定义Header可以吗?
推荐文章: