|
@@ -12,11 +12,12 @@
|
|
|
loading: () => <Loading type="spinner" size="20" />,
|
|
|
error: () => <span>加载失败</span>,
|
|
|
};
|
|
|
+ const questionTypeMap = ['判断题','单选题','多选题']
|
|
|
|
|
|
return () => {
|
|
|
return (
|
|
|
<div class="problem">
|
|
|
- <span class="type">{props.currentSubject.type}</span>
|
|
|
+ <span class="type">{questionTypeMap[props.currentSubject.questionType-1]}</span>
|
|
|
<span class="text">
|
|
|
{props.currentSubjectIndex + 1}、{props.currentSubject.explain||props.currentSubject.issue}
|
|
|
</span>
|