竞赛调整

dev_sync_trustie
杨树明 5 years ago
parent 540a4a309d
commit aaf61985a5

@ -1,5 +1,6 @@
import React, { Component } from 'react';
import { Breadcrumb,Layout,Table, Divider, Tag,Badge,Row, Col,Button, Menu, Icon} from 'antd';
import { Link } from 'react-router-dom';
import axios from 'axios';
import {markdownToHTML,getImageUrl} from 'educoder';
import NoneData from "../../courses/shixunHomework/shixunHomework";
@ -101,7 +102,7 @@ class CompetitionCommon extends Component{
<Col className={"competitionbannerdiv mt20"}>
<Button type="primary" block className={"Competitionfontsize22"}>
<a href={`/newcompetitions/${this.props.match.params.identifier}/enroll`}>立即报名</a>
<Link to={`/newcompetitions/${this.props.match.params.identifier}/enroll`}>立即报名</Link>
</Button>
</Col>
<Col className={"mt10 Competitionfontsize16"}>{data&&data.enroll_end_time===null?"":"报名截止时间:"+data&&data.enroll_end_time}</Col>

Loading…
Cancel
Save