mac遇到跨域訪問接口問題。
解決:
1、在任何一個目錄下面建立文檔,/Users/gao/Documents/chrome
2、 打開命令窗口執行
open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/gao/Documents/chrome
選擇啓動chrome即可
mac遇到跨域訪問接口問題。
解決:
1、在任何一個目錄下面建立文檔,/Users/gao/Documents/chrome
2、 打開命令窗口執行
open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/gao/Documents/chrome
選擇啓動chrome即可
https://view.officeapps.live.com/op/view.aspx?src=你地址