From b9b15cf8c857e3d02a9afa5c0a21de70d6932e62 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 03 七月 2024 13:34:14 +0800
Subject: [PATCH] fix:pdf查看器修改
---
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