for循环获取下标 在v-for的里面加上第二个参数,如把v-for="aa in bb"改成v-for="(aa, index) in bb",这样v-for循环里,index就是这个v-for遍历的下标。 前端 2023-05-30 192 点赞 2 评论 290 浏览