mac chrome 浏览器开启允许跨域

在控制台输入下面代码:

 

open -n /Applications/Google Chrome.app/ --args --disable-web-security  --user-data-dir=/Users/gaoyizhen736/Documents/MyChromeDevUserData 

原文地址:https://www.cnblogs.com/keleyz/p/9661352.html