|
@@ -231,7 +231,11 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- if (question.answer) {
|
|
|
+ // if (question.structType === STRUCT_TYPES.BOOLEAN_CHOICE) {
|
|
|
+ // console.log(question.answer, question.studentAnswer);
|
|
|
+ // }
|
|
|
+
|
|
|
+ if (question.answer !== null) {
|
|
|
contents.push({
|
|
|
cls: "topic-answer",
|
|
|
type: "json",
|
|
@@ -243,7 +247,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- if (question.studentAnswer) {
|
|
|
+ if (question.studentAnswer !== null) {
|
|
|
// 简答题的特殊处理,解决上传的大图无法分页问题。文字内容不受影响。
|
|
|
if (question.structType === STRUCT_TYPES.TEXT) {
|
|
|
// console.log(question.studentAnswer);
|