|
|
@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
|
|
|
|
|
|
|
|
|
import classNames from 'classnames';
|
|
|
|
import classNames from 'classnames';
|
|
|
|
|
|
|
|
|
|
|
|
import { getImageUrl ,markdownToHTML} from 'educoder'
|
|
|
|
import { getImageUrl ,markdownToHTML, configShareForCustom} from 'educoder'
|
|
|
|
|
|
|
|
|
|
|
|
import { CircularProgress } from 'material-ui/Progress';
|
|
|
|
import { CircularProgress } from 'material-ui/Progress';
|
|
|
|
|
|
|
|
|
|
|
@ -51,6 +51,7 @@ class Challenges extends Component {
|
|
|
|
if (response.data.status === 403||response.data.status === 401||response.data.status === 500) {
|
|
|
|
if (response.data.status === 403||response.data.status === 401||response.data.status === 500) {
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
|
|
|
|
configShareForCustom(this.props.shixunsDetails.name, response.data.description)
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
ChallengesDataList: response.data,
|
|
|
|
ChallengesDataList: response.data,
|
|
|
|
sumidtype: false,
|
|
|
|
sumidtype: false,
|
|
|
|