Commit 24eaa385 by zhanghaozhe

ai-test

parent 25c1910e
...@@ -24,7 +24,7 @@ class Question extends Component { ...@@ -24,7 +24,7 @@ class Question extends Component {
<div className="question"> <div className="question">
{activeIndex !== undefined && `${activeIndex + 1}.`} {activeIndex !== undefined && `${activeIndex + 1}.`}
{category && <span className={'category'}>{category}</span>}&nbsp; {category && <span className={'category'}>{category}</span>}&nbsp;
<span dangerouslySetInnerHTML={html(question.ques)}></span> <span dangerouslySetInnerHTML={{__html: question.ques}}></span>
</div> </div>
} }
<ul className={'options'}> <ul className={'options'}>
......
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