title: call to two functions in v-checkbox onchange event in vue js
body: <p>I'm using vue js with vuetify and laravel. I have a component with a dynamic datatable which gets data from database using axios. Also there's v-checkboxes in that datatable. So everything is working as i expect. But now I want to call to two functions onchange event in v-checkbox. For example when user click the checkbox (checked) I want to call to a save function and when user uncheck the checkbox I want to call to a delete function. I tried to do it with the id of the v-checkbox and check if that checkbox is checked then call to save function else call to delete function. And then when user checked the checkbox save function get called but when user uncheck the checkbox both functions get called. That's where I'm stuck at. How can I archieve this? </p>
  
  <p>datatable </p>
  
  <pre><code>&lt;v-data-table :headers="customer_headers" :items="customers" :search="customer_search" item-key="CustomerCode" ref="customer_table"&gt;
     &lt;template slot="items" slot-scope="props"&gt;
       &lt;tr :id="'customer_tr_'+props.item.CustomerCode"&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.CustomerCode }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.CustomerName }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.NO_OF_DISPENSERS }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.next_service_date }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.STATUS }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;{{ props.item.Workerstatus }}&lt;/td&gt;
         &lt;td class="text-md-center"&gt;
           &lt;v-checkbox
                       :key="props.item.CustomerCode"
                       :ref="'customer_checkbox_ref' + props.item.CustomerCode"
                       :id="'customer_checkbox_'+props.item.CustomerCode"
                       @change="loadCustomerDispensers(props.item.CustomerCode,props.item.STATUS);changeServicePlanData()"
                       &gt;&lt;/v-checkbox&gt;
         &lt;/td&gt;
       &lt;/tr&gt;
    &lt;/template&gt;
  &lt;/v-data-table&gt;
  </code></pre>
  
  <p>I 'm trying this in <code>changeServicePlanData()</code> function<code>changeServicePlanData()</code></p>
  
  <pre><code>function changeServicePlanData(id) {
     if ($('#' + id).checked == true) {
        this.savePlan()
     } else {
        this.deletePlan()
     }
  }
  </code></pre>