vue axios渲染

这是获取到的data数据,想要渲染到data数据里的prodSpecs数组中的数据怎么获取

我这是直接用response来获取的返回数据类型,如果你要获取js的这个表里数据可以用response.data['prodSpecs']就可以得到这个数组,下面是我的使用:
this.axios({
/*headers: {'Authorization': 'bearer '+this.$store.state.users.currentUser.UserToken},*/
method: 'post',
url: '/test',
data: {
"test": "123456"
}
}).then(function(response){
/*console.log(response);*/
this.value = response.data;
}.bind(this)).catch(function(error){
console.log(error);
});
温馨提示:答案为网友推荐,仅供参考