You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
780 B
38 lines
780 B
import React, { Component } from 'react';
|
|
import {Button,Layout} from 'antd';
|
|
import axios from 'axios';
|
|
import {markdownToHTML,getImageUrl} from 'educoder';
|
|
import NoneData from "../../courses/shixunHomework/shixunHomework";
|
|
|
|
const { Header, Footer, Sider, Content } = Layout;
|
|
class CompetitionContents extends Component{
|
|
constructor(props) {
|
|
super(props)
|
|
this.state={
|
|
|
|
}
|
|
}
|
|
|
|
componentDidMount(){
|
|
window.document.title = '竞赛';
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className={"fr"}>
|
|
<Button className={"fr"} type="primary" ghost>
|
|
编辑
|
|
</Button>
|
|
<Content className={"markdown-body"} dangerouslySetInnerHTML={{__html: markdownToHTML("").replace(/▁/g, "▁▁▁")}}>
|
|
</Content>
|
|
</div>
|
|
|
|
)
|
|
}
|
|
}
|
|
export default CompetitionContents; |