尽管加入了babel-polyfill ,依然出现 【ReferenceError: Promise is not define】的问题。目前只在三星、金立手机出现这种问题。没办法,只能强行修复了。

npm install promise --save-dev

window.Promise = require('promise');

记得清除一下手机的缓存。

相关文章:

  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-09-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-04-21
  • 2021-09-27
  • 2021-06-30
  • 2021-10-04
相关资源
相似解决方案