前言 本地浏览器在线模拟跨域请求 操作如下: chrome浏览器F12调出开发者工具,在开发者工具界面如下: 在Console输入下面的代码: GET var xhr = new XMLHttpRequest(); xhr.open('GET'