From 1046ab61c2449d4069346ef466135bd3da77aa5b Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 02 七月 2024 11:40:53 +0800 Subject: [PATCH] chore:更新gitignore --- src/views/exam/components/answer-main/answer-multiple/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/exam/components/answer-main/answer-multiple/index.vue b/src/views/exam/components/answer-main/answer-multiple/index.vue index 7f9f360..9cb4f70 100644 --- a/src/views/exam/components/answer-main/answer-multiple/index.vue +++ b/src/views/exam/components/answer-main/answer-multiple/index.vue @@ -1,3 +1,4 @@ +<!-- 澶氶�夐 --> <template> <div class="answer-container w-full h-full"> <el-scrollbar> @@ -36,7 +37,7 @@ }; const answerState = (item) => { - if(activeQuestion.value.answerList.includes(item.prefix)) { + if(Array.isArray(activeQuestion.value.answerList) && activeQuestion.value.answerList.includes(item.prefix)) { item.isActive = true; } return { -- Gitblit v1.8.0