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