Access-Control-Allow-Origin 跨域资源请求报错解决方案
做uni-app前端开发时,遇到CORS策略问题:
```json
:8081/#/pages/index/index:1 Access to XMLHttpRequest at 'http://api-remote.xxxx.com'/version/getCurrentVersion' from origin 'http://localhost:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header i
原创
2021-11-01 16:47:30 ·
3516 阅读 ·
0 评论