问题
Tried using https://www.npmjs.com/package/abortcontroller-polyfill?activeTab=readme to use this controller on IE. But it does not work
回答1:
To get window.AbortController() running in IE11, take a look at their IE11 example.
Install:
- promise-polyfill
- unfetch
- abortcontroller-polyfill
Add the following to your work before AbortController is called.
import 'promise-polyfill/src/polyfill';
import 'unfetch/polyfill';
import 'abortcontroller-polyfill';
来源:https://stackoverflow.com/questions/56147314/abort-controller-in-ie11-doesnt-work-any-way-to-support-it