Vue循环出来的表格数据背景随机生成不同的颜色

v-for="item in items"     :style={'background':'rgb('+Math.floor(Math.random()*50+180)+','+Math.floor(Math.random()*50+180)+','+Math.floor(Math.random()*50+180)+')'}"

效果图:

Vue循环出来的表格数据背景随机生成不同的颜色