, getActiveBeers() , , , .
, , , Vue / , - push, pop, sort ..
You can write this.activeBeersat the beginning of your function readyto see that it is an object.
By the way, if you want to register a deployed / simple array activeBeers, you can use your component $log:
this.$log(this.activeBeers);
Peter source
share