'Promise' is undefined in IE [closed]

青春壹個敷衍的年華 提交于 2019-12-03 04:04:43

问题


I'm getting a 'Promise' is undefined error in IE. Why is that and how can I solve this?


回答1:


Add something like

<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.5/bluebird.min.js"></script>

To <head>...</head>

This will pull in an external Bluebird Promise Library, so that you will be able to use Promise on IE



来源:https://stackoverflow.com/questions/36831372/promise-is-undefined-in-ie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!