容许google浏览器跨域ajax提交

允许google浏览器跨域ajax提交在启动chorme时加上 --allow-file-access-from-files 或者 -disable-web-sec

允许google浏览器跨域ajax提交

在启动chorme时加上 --allow-file-access-from-files 或者 -disable-web-security 建议用前者。

例子:

?

步骤: 在CMD中,     1. 进入到chrome根目录为当前操作目录     2. 输入指令 chrome.exe --allow-file-access-from-files

?