|
@@ -121,19 +121,20 @@ export default {
|
|
if (isMatches) sq.quesOptions = []; // 选词填空、段落匹配小题中不展示选项
|
|
if (isMatches) sq.quesOptions = []; // 选词填空、段落匹配小题中不展示选项
|
|
const contents = this.parseSimpleQuestion(sq, false);
|
|
const contents = this.parseSimpleQuestion(sq, false);
|
|
renderStructList.push(...contents);
|
|
renderStructList.push(...contents);
|
|
- if (!isMatches) renderStructList.push(this.parseLineGap());
|
|
|
|
|
|
+ renderStructList.push(this.parseLineGap());
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
questionInfo.number = question.number;
|
|
questionInfo.number = question.number;
|
|
const datas = this.parseSimpleQuestion(questionInfo, true);
|
|
const datas = this.parseSimpleQuestion(questionInfo, true);
|
|
renderStructList.push(...datas);
|
|
renderStructList.push(...datas);
|
|
|
|
+ renderStructList.push(this.parseLineGap());
|
|
}
|
|
}
|
|
- renderStructList.push(this.parseLineGap());
|
|
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
- this.renderStructList = renderStructList;
|
|
|
|
|
|
+ // 去掉最后一题的间隔行
|
|
// console.log(renderStructList);
|
|
// console.log(renderStructList);
|
|
|
|
+ this.renderStructList = renderStructList.slice(0, -1);
|
|
},
|
|
},
|
|
getRichStruct(blocks) {
|
|
getRichStruct(blocks) {
|
|
return {
|
|
return {
|