比如我有10个标签,希望依次红黄蓝这个顺序,在三个颜色里循环

colors = ['#f00', '#0f0', '#00f']
v-for="item in 10" :color="colors[item % colors.length]"