Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传一直报错跨域应该怎么解决呢? #24

Open
ganpan66fq opened this issue May 18, 2022 · 4 comments
Open

上传一直报错跨域应该怎么解决呢? #24

ganpan66fq opened this issue May 18, 2022 · 4 comments

Comments

@ganpan66fq
Copy link

报错信息如下,配置环境里面 也配置了 localhost:
Access to XMLHttpRequest at 'http://cem-test.cem-test.obs.cn-south-4.myhuaweicloud.com/?apiversion' from origin 'http://localhost:8572' 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.
upload.vue:109 Error-->Error: Network Error

original._wrapper @ vue.runtime.esm.js:6917
esdk-obs-browserjs-without-polyfill-3.19.5.min.js:1 HEAD http://cem-test.cem-test.obs.cn-south-4.myhuaweicloud.com/?apiversion net::ERR_FAILED

@xyhust204
Copy link

碰到同样问题了,请问现在这个解决了吗

@ganpan66fq
Copy link
Author

ganpan66fq commented Jun 20, 2022 via email

@noaccident
Copy link
Collaborator

@ganpan66fq
Copy link
Author

ganpan66fq commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants