【发布时间】:2016-08-28 08:20:00
【问题描述】:
我在 Windows 8 中安装了 Safari 用于开发目的,我试图“禁用本地文件限制”,但在开发菜单中找不到选项。
提前致谢
【问题讨论】:
标签: javascript google-chrome safari ionic-framework cors
我在 Windows 8 中安装了 Safari 用于开发目的,我试图“禁用本地文件限制”,但在开发菜单中找不到选项。
提前致谢
【问题讨论】:
标签: javascript google-chrome safari ionic-framework cors
By default Safari doesn't allow access to local files. To enable this option:
First you need to enable the develop menu.
To have the develop menu of Safari provide access to a variety of web development tools.
To display the Develop menu:
Open Safari.
Click on the Edit > Preferences > Advanced tab.
Check "Show Develop menu in the menu bar.
点击“开发”菜单 选择禁用本地文件限制。
it is also worth noting safari has some odd
behaviour with caches, so it is also to
use the "Disable caches" option in the same menu;
if you are editing & debugging using safari.
【讨论】: