|
@@ -220,8 +220,21 @@ export default {
|
|
|
},
|
|
|
// 得到答题记录题目信息
|
|
|
getQuestionInfo_AnswerRecord() {
|
|
|
- if (this.questionList[this.curQuestionIndex].type !== 'read') {
|
|
|
- this.$refs.exercise?.[0].showAnswer(false, false, { answer_list: [] }, true);
|
|
|
+ const type = this.questionList[this.curQuestionIndex].type;
|
|
|
+ if (type !== 'read') {
|
|
|
+ let answer = {
|
|
|
+ answer_list: [],
|
|
|
+ };
|
|
|
+ if (type === 'activity') {
|
|
|
+ answer = {
|
|
|
+ answer_list: [
|
|
|
+ {
|
|
|
+ accessory_file_id_list: [],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ }
|
|
|
+ this.$refs.exercise?.[0].showAnswer(false, false, answer, true);
|
|
|
}
|
|
|
GetQuestionInfo_AnswerRecord({
|
|
|
answer_record_id: this.curAnswerRecordId,
|