chrome允许加载本地文件

open -a "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --args --allow-file-access-from-files --disable-web-security

出于安全原因Chrome不会加载本地文件。

原文地址:https://www.cnblogs.com/azterzmshan/p/5412889.html