[Vuejs]-JQuery Ajax callback to a class method seemingly calling wrong instance

0👍

Alright I found it after banging my head against a wall for hours.

In a computed property of a Vue component, there was this line:

let obj = this.$store.state.filter(s => s.id = this.id);

Notice the =where you’d expect a ===…..

Leave a comment