Vue how to click to delete a row of the table?

as mentioned in the title, I delete the first line of elements every time I click.

<tbody>
                    <tr  class="gradeX" v-for="(lists,index) in inforList">
                        <td>{{lists.ID}}</td>
                        <td>{{lists.user}}</td>
                        <td>{{lists.suerNub}}</td>
                        <td>{{lists.desbe}}</td>
                        <td>
                             <div class="tpl-table-black-operation">
                                <a href="<%=basePath%>admin/resources/toAdd.jhtml"> 
                                    <i class="am-icon-pencil"></i> 
                                    {{lists.operat.edit}}
                                </a> 
                                <a href="javascript:;" class="tpl-table-black-operation-del" @click="delt(index)">
                                    <i class="am-icon-trash"></i> 
                                    {{lists.operat.del}}
                                </a>
                            </div>
                        </td>
                    </tr>
                </tbody>
new Vue({
        el:"-sharpappp",
        data:{
             columnList:[{
                number:"",
                IDname:"",
                nameNub:"",
                describe:"",
                operation:""
            }],
            inforList:[
             {
                ID:"1",
                user:"1",
                suerNub:"luozi",
                desbe:"",
                operat:{
                    del:"",
                    edit:""
                }
            },
            {
                ID:"2",
                user:"2",
                suerNub:"luozi",
                desbe:"",
                operat:{
                    del:"",
                    edit:""
                }
            },
            ]
            },
            methods:{
                delt:function(index){
                     this.inforList.splice(index,1); 
                }
            }
        });
Mar.09,2021

is likely to be a key problem, and deletion is a display problem.
you can add: key= "lists.ID"
in the for loop. You can also refer to this article v-for key question


you try again, what I am trying is normal, add: key=" index "


when clicked, get the index of the number of rows in the current array

<ul>
    <li v-for="(item,index) in dataArr" @click="del(index)" :key="item.id">
        {{item.name}}
    <li/>
</ul>

methods:{
   del(index){
         this.dataArr.splice(index,1); 
    }
}
Menu