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

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

 

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

原文地址:https://www.cnblogs.com/big--Bear/p/12143849.html