0👍
I think your runQuery
method is created before your this.fuse
get created so the this.fuse
inside your runQuery
method is not up-to-date.
Maybe try:
methods:{
runQuery(query){
if(query.length >= 3)
this.results = new Fuse(this.customer_search, this.options).search(query)
},
},
- [Vuejs]-Vuejs – "editing" html inside variable
- [Vuejs]-How can I call component each clicking different tabs ? (vue.js 2)
Source:stackexchange.com