在一次使用axios封装请求时, 请求后台返回的数据是[[PromiseValue]] 
Promise的设计文档中说了,[[PromiseValue]]是个内部变量,外部无法得到,只能在then中获取。
如何从Promise的返回值中取到[[PromiseValue]] ?

 

 
如何从Promise的返回值中取到[[PromiseValue]] ?

 

 最终请求可以返回数据(就是忘记了then)

如何从Promise的返回值中取到[[PromiseValue]] ?

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-12-19
  • 2021-06-02
  • 2021-07-19
  • 2021-05-28
  • 2021-07-25
猜你喜欢
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-01-10
相关资源
相似解决方案