竞赛调整

dev_auth
杨树明 5 years ago
parent 7536a0775c
commit 7bb4240cae

@ -134,7 +134,7 @@ class CompetitionContents extends Component{
//
// console.log(this.props.chartdata&&this.props.chartdata.user_ranks)
//console.log(chartdata&&chartdata.teams)
return (
<div>
{chart_rules===undefined?"":<Tabs onChange={(e)=>this.props.Competitioncallback(e)} activeKey={this.props.tabkey} tabBarExtraContent={this.props.current_user&&this.props.current_user.admin===true||this.props.current_user&&this.props.current_user.business===true?this.props.Competitionedittype===false?this.props.has_url===false?operations:"":"":""}>
@ -313,7 +313,7 @@ class CompetitionContents extends Component{
})}
</div>}
<Row className={"mt20 mb80"}>
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":<Table className="Competitiontransparent" columns={columns} dataSource={data} showHeader={false} pagination={false}/>}
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<4?"":<Table className="Competitiontransparent" columns={columns} dataSource={data} showHeader={false} pagination={false}/>}
</Row>

Loading…
Cancel
Save