我已经和Angular2合作了一段时间了,我正在努力让我的应用程序与Internet Explorer合作。它在谷歌浏览器中运行良好。我已经知道它主要在IE工作的地方,虽然我注意到网址似乎最终看起来形式:
http://localhost:61209/socialwork#/socialwork#/
社交作品#/ substring似乎在网址栏中重复了很长时间。
我猜我可能错过了垫片或填充物,但我不确定是哪一个。
我确实在IE的控制台窗口中出现了类似这样的错误,在这种情况下我不会发现它非常有用:
Unhandled Promise rejection: Access is denied.
; Zone: angular ; Task: Promise.then ; Value: Error: Access is denied.
undefined
"Unhandled Promise rejection:"
"Access is denied.
"
"; Zone:"
"angular"
"; Task:"
"Promise.then"
"; Value:"
{
[functions]: ,
description: "Access is denied.
",
message: "Access is denied.
",
name: "Error",
number: -2147024891
}
undefined
此外,以下是我加载到我的应用程序中的文件。
<script src="/node_modules/core-js/client/core.min.js"></script>
<script src="/node_modules/core-js/client/shim.min.js"></script>
<script src="/node_modules/zone.js/dist/zone.js"></script>
<script src="/node_modules/systemjs/dist/system.src.js"></script>
<script src="/node_modules/classlist-polyfill/src/index.js"></script>
<script src="/systemjs.config.js"></script>
任何见解都将受到赞赏!