import React,{ Component } from "react"; import { MarkdownToHtml,QuillForEditor} from 'educoder'; import QestionDisplayHeader from './QestionDisplayHeader' class MainDisplay extends Component{ constructor(props){ super(props); this.state = { } } componentDidMount = () => { } render() { let {standard_answer, question_id, index } = this.props; const qNumber = `question_${index}`; // TODO show模式 isNew为false isEdit为false return(
{ standard_answer[0] &&
参考答案:
{!this.props.exercise||this.props.exercise&&this.props.exercise.is_md?:}
}
) } } export default (MainDisplay);