[Vuejs]-Load graphical data even without passing the parameters through the filter (vue.js)

0👍

You can make use of data() property in the component and define a variable with default value false.

data () {
return {
filterApplied: false;
}
}

Then when selecting the filter, change the data property to true and on the basis of this value send the request with or without params.

Leave a comment