允许跨域
--disable-web-security --user-data-dir="C:/ChromeDevSession"
允许使用非安全请求
--allow-running-insecure-content
示例
在chrome快捷方式上右键-->属性-->目标
,加入上述参数
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --disable-web-security --user-data-dir="C:/ChromeDevSession" --allow-running-insecure-content