From 3a8c5ce0987df263e897f26fbbb8196e4a7b6eea Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 02 七月 2024 11:55:06 +0800 Subject: [PATCH] feat:网页端打开会议 --- 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