vue2+element-ui+axios 前端oss图片签名直传 跨域前端/后端如何解决?
Access to XMLHttpRequest at 'https://xxxxxxxx.com/' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
element-ui.common.js?5c96:29198 POST https://xxxxxx.com/ net::ERR_FAILED
回答:
建议看下这个 https://segmentfault.com/a/11...
以上是 vue2+element-ui+axios 前端oss图片签名直传 跨域前端/后端如何解决? 的全部内容, 来源链接: utcz.com/p/933013.html