normal
npm install url-search-params-polyfill --save
fetch:
npm install whatwg-fetch --save
//引入
import fetch from 'whatwg-fetch'
兼容
npm install es6-promise --save
//引入
import 'es6-promise'
normal
npm install url-search-params-polyfill --save
fetch:
npm install whatwg-fetch --save
//引入
import fetch from 'whatwg-fetch'
兼容
npm install es6-promise --save
//引入
import 'es6-promise'