Vue v-for 循环双列或多列

代码 <template> <div> <table class="data-table" v-if="arrLen > 0"> <tr v-for="index of arrLen" :key="index + 'x'"> <td :class="[currentIndex == (index *
posted @ 2022-10-26 10:47  小七要走  阅读(504)  评论(0编辑  收藏  举报