From cdc9531c164929d285c1ccc5d1ffa64c96d44968 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 02 七月 2024 15:24:36 +0800
Subject: [PATCH] chore:添加播放器依赖
---
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