Vue.http.options.emulateJSON=true
@阿发谢啦,不过加上这句也没什么效果,,刚看了下,它接收的是Response{url="/a",ok=true,status=200,更多...}这样一个对象。我用这样的形式,可以正常访问了
Response{url="/a",ok=true,status=200,更多...}
`this.$http.get('/a').then(({data})=>{vm.list=data;console.log(data);},(data)=>{console.log(data);})`