then(function(res){}),请问老师,我在这儿res为什么会是undefined
this.$http.get("data/cartdata.json",{"id":123}).then(function(res){
console.log(res.result)
//_this.productList = res.result.list
})
this.$http.get("data/cartdata.json",{"id":123}).then(function(res){
console.log(res.result)
//_this.productList = res.result.list
})
2017-10-24
举报