pseudo code is as follows:
<div class="" v-for="(item,index) in arr" :key="index">
< @change="dosomething"></>
</div>
<script>
...
methods:{
dosomething:function(parame1)
{
// index
}
</script>
this.$emit("change",this.);
If you write @ change= "dosomething" in this way, parame1 gets the value passed by the child component. If @ change= "dosomething (index)", parame1 is the index passed by the parent component. If you cannot get the value passed by the child component
Thank you all in advance