v-for="(item,index) in newmyTask :class="index===newmyTask.length-1&&'noline'" .noline{ border-bottom:none; } newmyTask是后端返回来的数据数组,noline表示样式问题。