简体   繁体   中英

Running on internet explorer 11 getting differ error

when running my ng2 app on chrome all is well, but in IE11 I get an error of:

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

any ideas?

regards

Sean

the solution:

add:

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

to index.html for support in IE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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