Answer the question
In order to leave comments, you need to log in
Removing same object from array?
changeArray(name, subname, value) {
if (this.filterArray[name].length < 2) {
this.filterArray[name].push(value)
var filterId = this.filterArray[name].map((item)=>{
return item.id
})
this.$store.dispatch('table/updateFilter', { name: name, subname: subname, value: filterId});
}
}
this.filterArray[name]
if they have the same id?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question