Internet Explorer 11和ASP Boilerplate SPA的兼容性问题:'abp'是未定义的错误

问题描述 投票:0回答:1

我可以在Google Chrome,Mozilla Firefox甚至Microsoft Edge上运行这个ASP Boilerplate项目(带有Angular 5的.NET Core 2.0)。但我不能在Internet Explorer 11上运行它。它给出了这个错误:ERROR ReferenceError'abp' is undefined

enter image description here

我的猜测是IE11无法支持Angular 5的abp模块。有没有办法让它与Internet Explorer兼容。

angular internet-explorer-11 asp.net-core-2.0 typescript2.0 aspnetboilerplate
1个回答
0
投票

这似乎是angular-cli和aot的问题,请参阅

https://github.com/angular/angular-cli/issues/5762

您可以禁用aot并尝试查看它是否解决了此处所述的问题

https://github.com/angular/angular-cli/issues/5762#issuecomment-291798471

© www.soinside.com 2019 - 2024. All rights reserved.