has been blocked by CORS policy问题解决方法
Ajax / html / js,has been blocked by CORS policy问题解决方法问题描述在练习js的过程中用到ajax,总是console出现报错:Access to XMLHttpRequest at ‘file:///Users/XXX/Downloads/nav/nav.json’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported f
原创
2021-04-11 17:40:29 ·
6928 阅读 ·
0 评论