1.新建任意文件夹与桌面,并知道其绝对路径;
2.终端写入open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir='写入你新建文件夹的绝对路径'即可解决跨域问题。
![](https://img.haomeiwen.com/i8100164/d1efe9bd1ba95b75.jpg)
1.新建任意文件夹与桌面,并知道其绝对路径;
2.终端写入open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir='写入你新建文件夹的绝对路径'即可解决跨域问题。
本文标题:Mac上处理chrome浏览器跨域问题
本文链接:https://www.haomeiwen.com/subject/vbvrextx.html
网友评论