TypeError: Cannot read property 'get' of undefined报错
this.$http.get("datas/cart.json",{"id":6666}).then(function(res){
});
用这个请求,就是报错
vue.js:634 [Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'get' of undefined"
vue.js:1897 TypeError: Cannot read property 'get' of undefined
找不打这个方法,怎么解决。