gpt4 book ai didi

javascript - IE9 抛出错误 : 'Error: An internal error occurred in the Microsoft Internet extensions' when running angular app

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:32:50 27 4
gpt4 key购买 nike

I'm getting the error in IE9 when loading my app: 

错误:Microsoft Internet 扩展中发生内部错误 错误:访问被拒绝。

当我在 IE 的开发工具中调试时,它指向有关 localStorage 的代码。

if (localStorage) {
// some code
} else {
// some code
}

我不确定这是一个 angular-IE 问题,还是仅与 IE 相关。提前致谢!

最佳答案

您是否在本地运行您的应用程序? IE9 不支持本地文件的本地存储。

这个问题有很多进一步的解释: local storage in IE9 fails when the website is accessed directly from the file system

关于javascript - IE9 抛出错误 : 'Error: An internal error occurred in the Microsoft Internet extensions' when running angular app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23375932/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com