我正在寻找如何制作一个重复项目轮播,如果我使用它作为返回它的错误并且如果我使用变量作为返回 pug.carousel-item${activeornot}
return _.map(this.props.editor_pick_data, function (value, key){
if(key == 0){
}
return (
pug`
.carousel-item.active(key=${key}, style=${{display: 'relative'}})
.col-md-3.col-sm-6.col-xs-12npm
a.thumbnail(href="#")
img.img-responsive(src=${value.item.images[1].big_thumbnail})
`
)
})