开发者社区> 问答> 正文

No 'Access-Control-Allow-Origin' header is presen

我在使用vue向阿里云上传文件时,遇到 Access to XMLHttpRequest at xxxxxxxx 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. 这样的问题? 我也在阿里云设置了跨域设置,但是问题一直存在?

展开
收起
石角头 2020-12-17 13:39:30 1092 0
1 条回答
写回答
取消 提交回答
  • 参考下这个?https://yq.aliyun.com/articles/551109?spm=5176.11065265.1996646101.searchclickresult.3e2f49412tEB0b

    2021-03-02 10:19:39
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载