call function on checkbox checked in vuejs code example
Example: action checkbox selected vue js
<input type="checkbox"
:value="mainCat.merchantId"
id="mainCat.merchantId"
v-model="checkedCategories"
@change="check($event)">