yarn add react-app-polyfill core-js
在index.js
import ‘react-app-polyfill/ie9‘;//兼容ie9 import ‘react-app-polyfill/stable‘; import "core-js/es/map" import "core-js/es/set"
2022-05-22 04:31:09
yarn add react-app-polyfill core-js
在index.js
import ‘react-app-polyfill/ie9‘;//兼容ie9 import ‘react-app-polyfill/stable‘; import "core-js/es/map" import "core-js/es/set"