完全退出chrome后终端下输入以下命令:

chrome49以前版本

open -a "Google Chrome" --args --disable-web-security

chrome49以后版本

open -a /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir

Safari

open -a '/Applications/Safari.app' --args --disable-web-security

PS:Mac-->Chrome如果命令行不成功可以安装一个插件Allow-Control-Allow-Origin

相关文章:

  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-12-23
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2021-04-13
  • 2021-09-09
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案