繁体   English   中英

在Internet Explorer 11上运行时出现不同错误

[英]Running on internet explorer 11 getting differ error

在chrome上运行ng2应用程序时一切正常,但是在IE11中我收到以下错误消息:

EXCEPTION: Cannot find a differ supporting object 'List []' of type 'object'. NgFor only supports binding to Iterables such as Arrays.

有任何想法吗?

问候

肖恩

解决方案:

加:

<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.4.0/core.js"></script>

到index.html以在IE中获得支持

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM