[Vuejs]-Vue notifications array

0👍

In your callback function you lose the context of this in order to get its context you can use an arrow function ()=>:

 error.response.data.message.map((value, key)=> {
   ...

instead of

 error.response.data.message.map(function(value, key) {
  ...

Leave a comment