IE11 中的中止控制器不起作用.任何方式来支持它
尝试使用https://www.npmjs.com/package/abortcontroller-polyfill?activeTab=自述文件 在 IE 上使用此控制器.但它不起作用
Tried using https://www.npmjs.com/package/abortcontroller-polyfill?activeTab=readme to use this controller on IE. But it does not work
推荐答案
要让window.AbortController()在IE11中运行,看看他们的IE11 示例.
To get window.AbortController() running in IE11, take a look at their IE11 example.
安装:
- promise-polyfill
- 取消提取
- abortcontroller-polyfill
在调用 AbortController 之前将以下内容添加到您的工作中.
Add the following to your work before AbortController is called.
import 'promise-polyfill/src/polyfill';
import 'unfetch/polyfill';
import 'abortcontroller-polyfill';
相关文章