我在一个按钮上绑定了一个查询事件,然后点击按钮报以下错误,无法获得get的属性,查了一下我也不清楚什么原因
methods:{
search(){
this.$axios.get('http://127.0.0.1:8000/ajax/speedsearch/id=1').then(response=>{
console.log(response.data.object.list);
this.tableData=response.data.object.list;
console.log(this.tableData)
}).catch(function(response){
console.log(response);
})
}
},