[Vuejs]-How to pass the data variable in geturldata in vuejs in html part not any one is the same

0👍

You can make a computed property with your data.
like this:

urlData(){
 return "/json_dropdown/crm-prospect-status/"+ this.pipeline_id;
}

and then simply pass this computed property to your select-box

    <select-box
    title="CRM Prospect Status"
    v-model="form.crm_prospect_patient_status"
    :getDataURL="urlData"
    :key=this.index ></select-box>

Leave a comment