3👍
✅
When you initialize the component, you set model to an object.
I defined the data set as model: {} in data()
Objects do not have a filter
method. Instead, initialize the model
to an empty array.
data(){
return {
model: []
}
}
👤Bert
Source:stackexchange.com