1 回复
jie71
jie711 楼5 年前

看上去应该是一致的, 只不过示例中是完整结构, 你在使用中肯定也是:

request(xx, xx).then(response => {

console.log(response.data.data.yourProps);

});

response.data这个对象是后端返回的数据.