MUI 的Ajax跨域问题怎么解决?
index.html:1 XMLHttpRequest cannot load http://localhost:8080/weChat/impower?appid=1. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access.
1 个回复
BoredApe - 有问题就会有答案。
请参考:http://ask.dcloud.net.cn/article/407