0👍
You are trying to access this
from inside the post callback, where this
refers to something other than your vue instance. Try this format:
this.$http.post('url/to/post',{},function(){
//because of "bind", 'this' is vue
}.bind(this));
👤Jeff
Source:stackexchange.com