摘要: 打开浏览器,右键,选择检查,选择console 输入测试代码,然后回车,正常返回即可跨域请求 get请求 var xhr = new XMLHttpRequest(); xhr.open('GET', 'url'); xhr.send(null); xhr.onload = function(e) 阅读全文
posted @ 2022-12-21 15:21 wangyb56 阅读(1221) 评论(0) 推荐(0)