下载es6-promise就可以解决这个问题

import ES6Promise from "es6-promise"
if(!window.Promise) {
  console.log(ES6Promise)
  ES6Promise.polyfill();
}

 

相关文章: