调整竞赛

issues25489
杨树明 5 years ago
parent 1c50dc4937
commit 53fc0fa985

@ -131,8 +131,6 @@ class CompetitionContents extends Component{
} }
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":chartdata.teams.map((item,key)=>{ {chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":chartdata.teams.map((item,key)=>{
if(key>2){
let list={ let list={
usersum:key+1, usersum:key+1,
userimg:item.user_image, userimg:item.user_image,
@ -143,7 +141,6 @@ class CompetitionContents extends Component{
user_login:item.user_login user_login:item.user_login
} }
datas.push(list) datas.push(list)
}
})} })}
// console.log(this.props&&this.props.mode) // console.log(this.props&&this.props.mode)

Loading…
Cancel
Save