Answer the question
In order to leave comments, you need to log in
Vuex computed set method. Why does it work on page load?
computed: {
complexes: {
get () {
return this.complexesFromState
},
set (complexId) {
this.updateSelectedComplexId(complexId)
}
}
}
Answer the question
In order to leave comments, you need to log in
Unfortunately, about queries - you just missed something somewhere or called it in a loop. Mutations are not caused by themselves.
About computed properties. Apparently, you have one more property in the getter, which changes its state when the component is "created", and set is called there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question