Commit 475890b6 by zhanghaozhe

Merge branch 'examination'

parents 3309dda5 19665ee7
...@@ -30,10 +30,9 @@ export default class Examination extends PureComponent { ...@@ -30,10 +30,9 @@ export default class Examination extends PureComponent {
} }
render() { render() {
// let {ques, type_id, options, analysis} = this.state.questionData
let { let {
questionData: { questionData: {
ques, type_id, options, analysis ques, type_id, options, analysis, category
}, },
isShowAnswer isShowAnswer
} = this.state } = this.state
...@@ -41,7 +40,7 @@ export default class Examination extends PureComponent { ...@@ -41,7 +40,7 @@ export default class Examination extends PureComponent {
<div className='examination'> <div className='examination'>
<div className="question-container"> <div className="question-container">
<div className="topic"> <div className="topic">
<Tag className='category-tag'>深度学习</Tag> <Tag className='category-tag'>{category}</Tag>
{ques} {ques}
</div> </div>
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment