|
|
|
@ -296,23 +296,15 @@ class SingleEditor extends Component{
|
|
|
|
|
}) }
|
|
|
|
|
|
|
|
|
|
<div className="mb20">
|
|
|
|
|
{/* {!exerciseIsPublish && <ActionBtn style="grey" className="middle mr20" onClick={this.addOption}>新增选项</ActionBtn>} */}
|
|
|
|
|
{answerTagArray && !!answerTagArray.length ? "" :
|
|
|
|
|
<span
|
|
|
|
|
style={{color: '#FF6800'}}>{'温馨提示:点击选项输入框可设置答案;选中的选项即为正确答案,选择多个答案即为多选题'}</span>
|
|
|
|
|
}
|
|
|
|
|
<span
|
|
|
|
|
style={{color: '#FF6800'}}>{!exerciseIsPublish ? '温馨提示:点击选项输入框可设置答案;选中的选项即为正确答案,选择多个答案即为多选题' : ' '}</span>
|
|
|
|
|
{ answerTagArray && !!answerTagArray.length ?
|
|
|
|
|
<div style={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
flexDirection: "row-reverse"
|
|
|
|
|
}}>
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<span className="fr color-orange">{answerTagArray.join(' ')}</span>
|
|
|
|
|
<span className="fr">标准答案:</span>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
</div>
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<span className="fr color-orange">{answerTagArray.join(' ')}</span>
|
|
|
|
|
<span className="fr">标准答案:</span>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
<span className="fr color-orange">请点击正确选项</span>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|